net: 802.1q: make vlan_hwaccel_do_receive() return void
vlan_hwaccel_do_receive() always returns 0, so make it return void. Signed-off-by: Changli Gao <xiaosuo@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
2436243a39
commit
05532121da
@@ -2841,8 +2841,8 @@ static int __netif_receive_skb(struct sk_buff *skb)
|
||||
if (!netdev_tstamp_prequeue)
|
||||
net_timestamp_check(skb);
|
||||
|
||||
if (vlan_tx_tag_present(skb) && vlan_hwaccel_do_receive(skb))
|
||||
return NET_RX_SUCCESS;
|
||||
if (vlan_tx_tag_present(skb))
|
||||
vlan_hwaccel_do_receive(skb);
|
||||
|
||||
/* if we've gotten here through NAPI, check netpoll */
|
||||
if (netpoll_receive_skb(skb))
|
||||
|
Reference in New Issue
Block a user