mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
2436243a39
commit
05532121da
3 changed files with 5 additions and 7 deletions
|
|
@ -35,7 +35,7 @@ drop:
|
|||
}
|
||||
EXPORT_SYMBOL(__vlan_hwaccel_rx);
|
||||
|
||||
int vlan_hwaccel_do_receive(struct sk_buff *skb)
|
||||
void vlan_hwaccel_do_receive(struct sk_buff *skb)
|
||||
{
|
||||
struct net_device *dev = skb->dev;
|
||||
struct vlan_rx_stats *rx_stats;
|
||||
|
|
@ -69,7 +69,6 @@ int vlan_hwaccel_do_receive(struct sk_buff *skb)
|
|||
break;
|
||||
}
|
||||
u64_stats_update_end(&rx_stats->syncp);
|
||||
return 0;
|
||||
}
|
||||
|
||||
struct net_device *vlan_dev_real_dev(const struct net_device *dev)
|
||||
|
|
|
|||
Loading…
Reference in a new issue