Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -3458,7 +3458,7 @@ static int do_tmpfile(struct nameidata *nd, unsigned flags,
		goto out;
		goto out;
	child = vfs_tmpfile(path.dentry, op->mode, op->open_flag);
	child = vfs_tmpfile(path.dentry, op->mode, op->open_flag);
	error = PTR_ERR(child);
	error = PTR_ERR(child);
	if (unlikely(IS_ERR(child)))
	if (IS_ERR(child))
		goto out2;
		goto out2;
	dput(path.dentry);
	dput(path.dentry);
	path.dentry = child;
	path.dentry = child;