[VLAN]: Use dev->stats
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
b7a4a83629
commit
7bd38d778e
@ -366,8 +366,6 @@ void vlan_setup(struct net_device *new_dev)
|
||||
* the global list.
|
||||
* iflink is set as well.
|
||||
*/
|
||||
new_dev->get_stats = vlan_dev_get_stats;
|
||||
|
||||
/* Make this thing known as a VLAN device */
|
||||
new_dev->priv_flags |= IFF_802_1Q_VLAN;
|
||||
|
||||
|
Reference in New Issue
Block a user