Commit 343e43c0 authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller

benet: remove bogus "unlikely" on vlan check

Use of unlikely in this place is wrong. Remove it.
Signed-off-by: default avatarJiri Pirko <jpirko@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3c9c36bc
...@@ -1139,7 +1139,7 @@ static void be_rx_compl_process(struct be_adapter *adapter, ...@@ -1139,7 +1139,7 @@ static void be_rx_compl_process(struct be_adapter *adapter,
skb->rxhash = rxcp->rss_hash; skb->rxhash = rxcp->rss_hash;
if (unlikely(rxcp->vlanf)) if (rxcp->vlanf)
__vlan_hwaccel_put_tag(skb, rxcp->vlan_tag); __vlan_hwaccel_put_tag(skb, rxcp->vlan_tag);
netif_receive_skb(skb); netif_receive_skb(skb);
...@@ -1196,7 +1196,7 @@ static void be_rx_compl_process_gro(struct be_adapter *adapter, ...@@ -1196,7 +1196,7 @@ static void be_rx_compl_process_gro(struct be_adapter *adapter,
if (adapter->netdev->features & NETIF_F_RXHASH) if (adapter->netdev->features & NETIF_F_RXHASH)
skb->rxhash = rxcp->rss_hash; skb->rxhash = rxcp->rss_hash;
if (unlikely(rxcp->vlanf)) if (rxcp->vlanf)
__vlan_hwaccel_put_tag(skb, rxcp->vlan_tag); __vlan_hwaccel_put_tag(skb, rxcp->vlan_tag);
napi_gro_frags(&eq_obj->napi); napi_gro_frags(&eq_obj->napi);
......
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