diff options
| author | Alexey Dobriyan <adobriyan@gmail.com> | 2010-01-22 05:13:10 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2010-01-23 04:21:26 -0500 |
| commit | a271623f871dda970319ca15dfad3a8c8c36249f (patch) | |
| tree | 169083259c6cf93b6017310e6b3b61b92b1dace6 | |
| parent | da6b33306801af7ee6479c177051e70842974932 (diff) | |
netdev: remove certain HAVE_ macros
After netdev_ops compat code HAVE_* macros aren't needed, in fact
they _will_ result in compile breakage for out of tree drivers.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
| -rw-r--r-- | include/linux/netdevice.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 468a11dea58c..b5fb51d0b8b1 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
| @@ -621,30 +621,21 @@ struct net_device_ops { | |||
| 621 | struct net_device *dev); | 621 | struct net_device *dev); |
| 622 | u16 (*ndo_select_queue)(struct net_device *dev, | 622 | u16 (*ndo_select_queue)(struct net_device *dev, |
| 623 | struct sk_buff *skb); | 623 | struct sk_buff *skb); |
| 624 | #define HAVE_CHANGE_RX_FLAGS | ||
| 625 | void (*ndo_change_rx_flags)(struct net_device *dev, | 624 | void (*ndo_change_rx_flags)(struct net_device *dev, |
| 626 | int flags); | 625 | int flags); |
| 627 | #define HAVE_SET_RX_MODE | ||
| 628 | void (*ndo_set_rx_mode)(struct net_device *dev); | 626 | void (*ndo_set_rx_mode)(struct net_device *dev); |
| 629 | #define HAVE_MULTICAST | ||
| 630 | void (*ndo_set_multicast_list)(struct net_device *dev); | 627 | void (*ndo_set_multicast_list)(struct net_device *dev); |
| 631 | #define HAVE_SET_MAC_ADDR | ||
| 632 | int (*ndo_set_mac_address)(struct net_device *dev, | 628 | int (*ndo_set_mac_address)(struct net_device *dev, |
| 633 | void *addr); | 629 | void *addr); |
| 634 | #define HAVE_VALIDATE_ADDR | ||
| 635 | int (*ndo_validate_addr)(struct net_device *dev); | 630 | int (*ndo_validate_addr)(struct net_device *dev); |
| 636 | #define HAVE_PRIVATE_IOCTL | ||
| 637 | int (*ndo_do_ioctl)(struct net_device *dev, | 631 | int (*ndo_do_ioctl)(struct net_device *dev, |
| 638 | struct ifreq *ifr, int cmd); | 632 | struct ifreq *ifr, int cmd); |
| 639 | #define HAVE_SET_CONFIG | ||
| 640 | int (*ndo_set_config)(struct net_device *dev, | 633 | int (*ndo_set_config)(struct net_device *dev, |
| 641 | struct ifmap *map); | 634 | struct ifmap *map); |
| 642 | #define HAVE_CHANGE_MTU | ||
| 643 | int (*ndo_change_mtu)(struct net_device *dev, | 635 | int (*ndo_change_mtu)(struct net_device *dev, |
| 644 | int new_mtu); | 636 | int new_mtu); |
| 645 | int (*ndo_neigh_setup)(struct net_device *dev, | 637 | int (*ndo_neigh_setup)(struct net_device *dev, |
| 646 | struct neigh_parms *); | 638 | struct neigh_parms *); |
| 647 | #define HAVE_TX_TIMEOUT | ||
| 648 | void (*ndo_tx_timeout) (struct net_device *dev); | 639 | void (*ndo_tx_timeout) (struct net_device *dev); |
| 649 | 640 | ||
| 650 | struct net_device_stats* (*ndo_get_stats)(struct net_device *dev); | 641 | struct net_device_stats* (*ndo_get_stats)(struct net_device *dev); |
| @@ -656,7 +647,6 @@ struct net_device_ops { | |||
| 656 | void (*ndo_vlan_rx_kill_vid)(struct net_device *dev, | 647 | void (*ndo_vlan_rx_kill_vid)(struct net_device *dev, |
| 657 | unsigned short vid); | 648 | unsigned short vid); |
| 658 | #ifdef CONFIG_NET_POLL_CONTROLLER | 649 | #ifdef CONFIG_NET_POLL_CONTROLLER |
| 659 | #define HAVE_NETDEV_POLL | ||
| 660 | void (*ndo_poll_controller)(struct net_device *dev); | 650 | void (*ndo_poll_controller)(struct net_device *dev); |
| 661 | #endif | 651 | #endif |
| 662 | #if defined(CONFIG_FCOE) || defined(CONFIG_FCOE_MODULE) | 652 | #if defined(CONFIG_FCOE) || defined(CONFIG_FCOE_MODULE) |
