From: Bryan Schumaker Date: Wed, 27 Apr 2011 19:47:14 +0000 (-0400) Subject: NFSD: Remove setting unused variable in nfsd_vfs_read() X-Git-Tag: v3.0-rc1~8^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fccb13c947de83a368e1f3c2216bbf4d8d41efa1;p=pandora-kernel.git NFSD: Remove setting unused variable in nfsd_vfs_read() Compiling gave me this warning: fs/nfsd/vfs.c: In function ‘nfsd_vfs_read’: fs/nfsd/vfs.c:880:16: warning: variable ‘inode’ set but not used [-Wunused-but-set-variable] I discovered that a local variable "inode" was being set towards the beginning of nfsd_vfs_read() and then ignored for the rest of the function. Signed-off-by: Bryan Schumaker Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed