Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1139,7 +1139,7 @@ static void be_rx_compl_process(struct be_adapter *adapter,
		skb->rxhash = rxcp->rss_hash;


	if (unlikely(rxcp->vlanf))
	if (rxcp->vlanf)
		__vlan_hwaccel_put_tag(skb, rxcp->vlan_tag);

	netif_receive_skb(skb);
@@ -1196,7 +1196,7 @@ static void be_rx_compl_process_gro(struct be_adapter *adapter,
	if (adapter->netdev->features & NETIF_F_RXHASH)
		skb->rxhash = rxcp->rss_hash;

	if (unlikely(rxcp->vlanf))
	if (rxcp->vlanf)
		__vlan_hwaccel_put_tag(skb, rxcp->vlan_tag);

	napi_gro_frags(&eq_obj->napi);