bnxt_en: 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
d9db5e3680
commit
1fac4b2fdb
|
@ -1491,7 +1491,7 @@ static int bnxt_rx_pkt(struct bnxt *bp, struct bnxt_napi *bnapi, u32 *raw_cons,
|
|||
(struct rx_tpa_end_cmp *)rxcmp,
|
||||
(struct rx_tpa_end_cmp_ext *)rxcmp1, event);
|
||||
|
||||
if (unlikely(IS_ERR(skb)))
|
||||
if (IS_ERR(skb))
|
||||
return -EBUSY;
|
||||
|
||||
rc = -ENOMEM;
|
||||
|
|
Loading…
Reference in New Issue