net: cleanup vlan_features setting in register_netdev
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Thu, 14 Jul 2011 21:41:11 +0000 (14:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Jul 2011 21:41:11 +0000 (14:41 -0700)
commit1180e7d6599c1fb0c56a23a649a3eb37d877b9d0
treecae7c3f14d626d92f4dc69a6418d8225fe18f58c
parent6c9c1b5456e3ba0b4a1a43866600e84bbba0db12
net: cleanup vlan_features setting in register_netdev

vlan_features contains features inherited from underlying device.
NETIF_SOFT_FEATURES are not inherited but belong to the vlan device
itself (ensured in vlan_dev_fix_features()).

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c