diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2023-06-21 15:52:05 +0100 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2023-06-21 15:05:32 -0400 |
commit | 75bfb70457a4c4c9f0095e39885382fc5049c5ce (patch) | |
tree | 9822e454645aa291aa45f6701598e3d7e7d10589 /MAINTAINERS | |
parent | 88770b8de38eeaf093c877ed78a7e6e1660df8df (diff) | |
download | linux-stable-75bfb70457a4c4c9f0095e39885382fc5049c5ce.tar.gz linux-stable-75bfb70457a4c4c9f0095e39885382fc5049c5ce.tar.bz2 linux-stable-75bfb70457a4c4c9f0095e39885382fc5049c5ce.zip |
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 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions