1 ext4: remove unneeded code in ext4_unlink
3 From: Namjae Jeon <namjae.jeon@samsung.com>
5 Setting retval to zero is not needed in ext4_unlink.
8 Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
9 Signed-off-by: Ashish Sangwan <a.sangwan@samsung.com>
10 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
13 1 file changed, 1 deletion(-)
15 diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c
16 index 4262118..2291923 100644
19 @@ -2814,7 +2814,6 @@ static int ext4_unlink(struct inode *dir, struct dentry *dentry)
20 ext4_orphan_add(handle, inode);
21 inode->i_ctime = ext4_current_time(inode);
22 ext4_mark_inode_dirty(handle, inode);
31 To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
32 the body of a message to majordomo@vger.kernel.org
33 More majordomo info at http://vger.kernel.org/majordomo-info.html