diff --git a/net/core/datagram.c b/net/core/datagram.c index f7fb7e3f2acf33e42e1140372d87dc543a2f2c7c..0b7b4c22719e98fbe9fa432fcadf3d1ecc379555 100644 --- a/net/core/datagram.c +++ b/net/core/datagram.c @@ -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; }