diff options
Diffstat (limited to 'net/ethernet')
-rw-r--r-- | net/ethernet/eth.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/net/ethernet/eth.c b/net/ethernet/eth.c index 280352aba403..5a883affecd3 100644 --- a/net/ethernet/eth.c +++ b/net/ethernet/eth.c | |||
@@ -337,11 +337,6 @@ const struct header_ops eth_header_ops ____cacheline_aligned = { | |||
337 | void ether_setup(struct net_device *dev) | 337 | void ether_setup(struct net_device *dev) |
338 | { | 338 | { |
339 | dev->header_ops = ð_header_ops; | 339 | dev->header_ops = ð_header_ops; |
340 | #ifdef CONFIG_COMPAT_NET_DEV_OPS | ||
341 | dev->change_mtu = eth_change_mtu; | ||
342 | dev->set_mac_address = eth_mac_addr; | ||
343 | dev->validate_addr = eth_validate_addr; | ||
344 | #endif | ||
345 | dev->type = ARPHRD_ETHER; | 340 | dev->type = ARPHRD_ETHER; |
346 | dev->hard_header_len = ETH_HLEN; | 341 | dev->hard_header_len = ETH_HLEN; |
347 | dev->mtu = ETH_DATA_LEN; | 342 | dev->mtu = ETH_DATA_LEN; |