aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2023-06-21 15:52:05 +0100
committerChuck Lever <[email protected]>2023-06-21 15:05:32 -0400
commit75bfb70457a4c4c9f0095e39885382fc5049c5ce (patch)
tree9822e454645aa291aa45f6701598e3d7e7d10589 /lib/test_fortify/write_overflow-memcpy.c
parent88770b8de38eeaf093c877ed78a7e6e1660df8df (diff)
nfsd: remove redundant assignments to variable len
There are a few assignments to variable len where the value is not being read and so the assignments are redundant and can be removed. In one case, the variable len can be removed completely. Cleans up 4 clang scan warnings of the form: fs/nfsd/export.c:100:7: warning: Although the value stored to 'len' is used in the enclosing expression, the value is never actually read from 'len' [deadcode.DeadStores] Signed-off-by: Colin Ian King <[email protected]> Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions