summaryrefslogtreecommitdiff
path: root/net/sunrpc/sysctl.c
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2023-06-21 17:52:05 +0300
committerChuck Lever <chuck.lever@oracle.com>2023-06-21 22:05:32 +0300
commit75bfb70457a4c4c9f0095e39885382fc5049c5ce (patch)
tree9822e454645aa291aa45f6701598e3d7e7d10589 /net/sunrpc/sysctl.c
parent88770b8de38eeaf093c877ed78a7e6e1660df8df (diff)
downloadlinux-75bfb70457a4c4c9f0095e39885382fc5049c5ce.tar.xz
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 <colin.i.king@gmail.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net/sunrpc/sysctl.c')
0 files changed, 0 insertions, 0 deletions