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

Commit d9db5e36 authored by Tobias Klauser's avatar Tobias Klauser Committed by David S. Miller
Browse files

kcm: Remove redundant unlikely()



IS_ERR() already implies unlikely(), so it can be omitted.

Signed-off-by: default avatarTobias Klauser <tklauser@distanz.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 63a4e80b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1650,7 +1650,7 @@ static int kcm_clone(struct socket *osock, struct kcm_clone *info,
	}

	newfile = sock_alloc_file(newsock, 0, osock->sk->sk_prot_creator->name);
	if (unlikely(IS_ERR(newfile))) {
	if (IS_ERR(newfile)) {
		err = PTR_ERR(newfile);
		goto out_sock_alloc_fail;
	}