Skip to content
Commit 19a1aad8 authored by YueHaibing's avatar YueHaibing Committed by J. Bruce Fields
Browse files

nfsd: remove set but not used variable 'len'



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 83a63072 ("nfsd: fix nfs read eof detection")

Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent da0c9ea1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment