diff options
author | YueHaibing <yuehaibing@huawei.com> | 2018-08-01 08:28:10 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2018-08-09 22:11:21 +0200 |
commit | 9cc3b98d1fdb0d279c6ba9264cac1ae2210497d2 (patch) | |
tree | 9735d3526e59e553062f540715d82451a9118350 /fs | |
parent | nfsd: fix leaked file lock with nfs exported overlayfs (diff) | |
download | linux-9cc3b98d1fdb0d279c6ba9264cac1ae2210497d2.tar.xz linux-9cc3b98d1fdb0d279c6ba9264cac1ae2210497d2.zip |
sunrpc: remove redundant variables 'checksumlen','blocksize' and 'data'
Variables 'checksumlen','blocksize' and 'data' are being assigned,
but are never used, hence they are redundant and can be removed.
Fix the following warning:
net/sunrpc/auth_gss/gss_krb5_wrap.c:443:7: warning: variable ‘blocksize’ set but not used [-Wunused-but-set-variable]
net/sunrpc/auth_gss/gss_krb5_crypto.c:376:15: warning: variable ‘checksumlen’ set but not used [-Wunused-but-set-variable]
net/sunrpc/xprtrdma/svc_rdma.c:97:9: warning: variable ‘data’ set but not used [-Wunused-but-set-variable]
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions