datagram: Remove redundant unlikely()
IS_ERR() already implies unlikely(), so it can be omitted. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1f4cf93b13
commit
98e4fcff3e
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue