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

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

ipv6: 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 98e4fcff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3297,7 +3297,7 @@ static int fixup_permanent_addr(struct inet6_dev *idev,
		struct rt6_info *rt, *prev;

		rt = addrconf_dst_alloc(idev, &ifp->addr, false);
		if (unlikely(IS_ERR(rt)))
		if (IS_ERR(rt))
			return PTR_ERR(rt);

		/* ifp->rt can be accessed outside of rtnl */