remove needless check in nfs_opendir()
PATCH 1/1 remove needless check in nfs_opendir()
local variable res was initialized to 0 - no check needed here.
Signed-off-by Carsten Otte <[email protected]>
--
fs/nfs/dir.c +1 -2
@@ -131,8 +131,7 @@lock_kernel ();/* Call generic open code in order to cache credentials */ -if (!res) - res =nfs_open (inode, filp); + res =nfs_open (inode, filp);unlock_kernel ();return res; }