]> Git Repo - linux.git/blobdiff - lib/mpi/ec.c
mm/mmap: remove __vma_adjust()
[linux.git] / lib / mpi / ec.c
index c21470122dfc1e7043f33b74656b9244fe34104d..40f5908e57a4f084c836b776f5ebf209c11f5a85 100644 (file)
@@ -1252,7 +1252,6 @@ void mpi_ec_mul_point(MPI_POINT result,
                MPI_POINT q1, q2, prd, sum;
                unsigned long sw;
                mpi_size_t rsize;
-               int scalar_copied = 0;
 
                /* Compute scalar point multiplication with Montgomery Ladder.
                 * Note that we don't use Y-coordinate in the points at all.
@@ -1314,8 +1313,6 @@ void mpi_ec_mul_point(MPI_POINT result,
                point_free(&p2);
                point_free(&p1_);
                point_free(&p2_);
-               if (scalar_copied)
-                       mpi_free(scalar);
                return;
        }
 
This page took 0.031005 seconds and 4 git commands to generate.