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
tmon

back to top