[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:
Patrick McHardy
2008-01-21 00:19:31 -08:00
committed by David S. Miller
parent b7a4a83629
commit 7bd38d778e
4 changed files with 6 additions and 18 deletions

View File

@ -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;