Commit 98e4fcff authored by Tobias Klauser's avatar Tobias Klauser Committed by David S. Miller

datagram: 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 1f4cf93b
......@@ -188,7 +188,7 @@ struct sk_buff *__skb_try_recv_from_queue(struct sock *sk,
}
if (!skb->len) {
skb = skb_set_peeked(skb);
if (unlikely(IS_ERR(skb))) {
if (IS_ERR(skb)) {
*err = PTR_ERR(skb);
return NULL;
}
......
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