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
api
bpf
lockdep
subcmd
symbol
traceevent
argv_split.c -rw-r--r-- 1.7 KB
bitmap.c -rw-r--r-- 1.6 KB
ctype.c -rw-r--r-- 1.3 KB
find_bit.c -rw-r--r-- 3.0 KB
hweight.c -rw-r--r-- 1.8 KB
rbtree.c -rw-r--r-- 16.1 KB
str_error_r.c -rw-r--r-- 1.0 KB
string.c -rw-r--r-- 3.2 KB
vsprintf.c -rw-r--r-- 900 bytes
zalloc.c -rw-r--r-- 197 bytes

back to top