diff options
| author | 2016-03-22 13:12:37 +0100 | |
|---|---|---|
| committer | 2016-04-05 20:35:48 +0800 | |
| commit | ea122be0b8f788b30e71ed5536fddc05f5ddff86 (patch) | |
| tree | 2d0080d5655a78108607e78b2d5f150916384aa7 /scripts/objdiff | |
| parent | lib/mpi: mpi_write_sgl(): fix style issue with lzero decrement (diff) | |
lib/mpi: mpi_write_sgl(): purge redundant pointer arithmetic
Within the copying loop in mpi_write_sgl(), we have
if (lzeros) {
...
p -= lzeros;
y = lzeros;
}
p = p - (sizeof(alimb) - y);
If lzeros == 0, then y == 0, too. Thus, lzeros gets subtracted and added
back again to p.
Purge this redundancy.
Signed-off-by: Nicolai Stange <nicstange@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
