vfs: remove unneeded unlikely()

IS_ERR() macro it is already including unlikely().

Signed-off-by: Hirofumi Nakagawa <nklabs@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Hirofumi Nakagawa 2017-09-26 03:21:26 +09:00 committed by Al Viro
parent f175f307dd
commit 684e73bee4

View File

@ -3458,7 +3458,7 @@ static int do_tmpfile(struct nameidata *nd, unsigned flags,
goto out;
child = vfs_tmpfile(path.dentry, op->mode, op->open_flag);
error = PTR_ERR(child);
if (unlikely(IS_ERR(child)))
if (IS_ERR(child))
goto out2;
dput(path.dentry);
path.dentry = child;