lib/mpi: purge mpi_set_buffer()
PATCH 1/1 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 <[email protected]>
---
Applicable to linux-next-20150525.
allmodconfig build on x86_64 succeeded.
include/linux/mpi.h | 1 - lib/mpi/mpicoder.c | 76 ----------------------------------------------------- 2 files changed, 77 deletions(-)
include/linux/mpi.h +0 -1
@@ -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);
lib/mpi/mpicoder.c +0 -76
82 lines not on this page · raw message
Signature · 1 line
2.8.2
Quoted 6 lines · Nicolai Stange
mpi_set_buffer()has no in-tree users and similar functionality is provided bympi_read_raw_data().Remove
mpi_set_buffer().Signed-off-by Nicolai Stange <[email protected]>
Applied.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt