Commit 684e73be authored by Hirofumi Nakagawa's avatar Hirofumi Nakagawa Committed by Al Viro

vfs: remove unneeded unlikely()

IS_ERR() macro it is already including unlikely().
Signed-off-by: default avatarHirofumi Nakagawa <nklabs@gmail.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent f175f307
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment