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:
Tobias Klauser 2017-09-26 11:21:42 +02:00 committed by David S. Miller
parent 1f4cf93b13
commit 98e4fcff3e
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}