summaryrefslogtreecommitdiff
path: root/net/sunrpc/xprt.c
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2021-05-12 12:20:04 +0300
committerTrond Myklebust <trond.myklebust@hammerspace.com>2021-05-20 19:17:08 +0300
commitd1d973950aceecd646ea3bee66764414bfeac072 (patch)
tree53e0d5b259e6c3cedb11e9321141e0744605ec5c /net/sunrpc/xprt.c
parent769b01ea68b6c49dc3cde6adf7e53927dacbd3a8 (diff)
downloadlinux-d1d973950aceecd646ea3bee66764414bfeac072.tar.xz
pNFS/NFSv4: Remove redundant initialization of 'rd_size'
Variable 'rd_size' is being initialized however this value is never read as 'rd_size' is assigned a new value in for statement. Remove the redundant assignment. Clean up clang warning: fs/nfs/pnfs.c:2681:6: warning: Value stored to 'rd_size' during its initialization is never read [clang-analyzer-deadcode.DeadStores] Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'net/sunrpc/xprt.c')
0 files changed, 0 insertions, 0 deletions