fs: Eliminate redundant assignments
PATCH 1/1 fs: Eliminate redundant assignments
after the assignments statement ,all return statement do not use ret variable,so delete the assignments.
Signed-off-by Weikang Shi <[email protected]>
--- fs/afs/dir.c | 1 - 1 file changed, 1 deletion(-)
fs/afs/dir.c +0 -1
@@ -541,7 +541,6 @@ static int afs_do_lookup_one(struct inode *dir, struct dentry *dentry,return ret; } - ret = -ENOENT ;if (!cookie.found) {_leave (" = -ENOENT [not found]" );return -ENOENT ;
Signature · 1 line
2.7.4