summaryrefslogtreecommitdiffstats
path: root/include/linux/mpi.h
diff options
context:
space:
mode:
authorNicolai Stange <nicstange@gmail.com>2016-05-26 12:57:50 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2016-05-31 16:41:58 +0800
commit4bdf1cfca5d46294142cdf49cd997b8b83491adf (patch)
treee9e3474d54eb07664a5917aab42a7ba10383e8c3 /include/linux/mpi.h
parent1ff69adf747e75425d5e67df2f2ac866e7ebd165 (diff)
downloadlinux-4bdf1cfca5d46294142cdf49cd997b8b83491adf.tar.gz
linux-4bdf1cfca5d46294142cdf49cd997b8b83491adf.tar.bz2
linux-4bdf1cfca5d46294142cdf49cd997b8b83491adf.zip
lib/mpi: purge mpi_set_buffer()
mpi_set_buffer() has no in-tree users and similar functionality is provided by mpi_read_raw_data(). Remove mpi_set_buffer(). Signed-off-by: Nicolai Stange <nicstange@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux/mpi.h')
-rw-r--r--include/linux/mpi.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mpi.h b/include/linux/mpi.h
index 3a5abe95affd..f219559e5e80 100644
--- a/include/linux/mpi.h
+++ b/include/linux/mpi.h
@@ -80,7 +80,6 @@ void *mpi_get_buffer(MPI a, unsigned *nbytes, int *sign);
int mpi_read_buffer(MPI a, uint8_t *buf, unsigned buf_len, unsigned *nbytes,
int *sign);
void *mpi_get_secure_buffer(MPI a, unsigned *nbytes, int *sign);
-int mpi_set_buffer(MPI a, const void *buffer, unsigned nbytes, int sign);
int mpi_write_to_sgl(MPI a, struct scatterlist *sg, unsigned *nbytes,
int *sign);