Revision 19a1aad8886fd5b704b02870020cb6694f686991 authored by YueHaibing on 28 September 2019, 04:21:56 UTC, committed by J. Bruce Fields on 08 October 2019, 20:01:33 UTC
Fixes gcc '-Wunused-but-set-variable' warning:

fs/nfsd/nfs4xdr.c: In function nfsd4_encode_splice_read:
fs/nfsd/nfs4xdr.c:3464:7: warning: variable len set but not used [-Wunused-but-set-variable]

It is not used since commit 83a63072c815 ("nfsd: fix nfs read eof detection")

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
1 parent da0c9ea
History
File Mode Size
include
tests
.gitignore -rw-r--r-- 16 bytes
Build -rw-r--r-- 54 bytes
Makefile -rw-r--r-- 4.1 KB
common.c -rw-r--r-- 611 bytes
lockdep -rwxr-xr-x 59 bytes
lockdep.c -rw-r--r-- 764 bytes
lockdep_internals.h -rw-r--r-- 55 bytes
lockdep_states.h -rw-r--r-- 52 bytes
preload.c -rw-r--r-- 12.6 KB
rbtree.c -rw-r--r-- 30 bytes
run_tests.sh -rwxr-xr-x 1.4 KB

back to top