summaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpicoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mpi/mpicoder.c')
-rw-r--r--lib/mpi/mpicoder.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/mpi/mpicoder.c b/lib/mpi/mpicoder.c
index 4ba0f2361d3c..27703aad287a 100644
--- a/lib/mpi/mpicoder.c
+++ b/lib/mpi/mpicoder.c
@@ -461,8 +461,6 @@ MPI mpi_read_raw_from_sgl(struct scatterlist *sgl, unsigned int nbytes)
461 461
462 if (nbytes > 0) 462 if (nbytes > 0)
463 nbits -= count_leading_zeros(*(u8 *)(sg_virt(sgl) + lzeros)); 463 nbits -= count_leading_zeros(*(u8 *)(sg_virt(sgl) + lzeros));
464 else
465 nbits = 0;
466 464
467 nlimbs = DIV_ROUND_UP(nbytes, BYTES_PER_MPI_LIMB); 465 nlimbs = DIV_ROUND_UP(nbytes, BYTES_PER_MPI_LIMB);
468 val = mpi_alloc(nlimbs); 466 val = mpi_alloc(nlimbs);