diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2010-01-27 05:17:41 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-28 09:01:35 -0500 |
commit | 257ddbdad13cd3c4f7d03b85af632c508aa8abc9 (patch) | |
tree | d3b85a20a32fb2a9817016131f164cab85cafd82 /drivers/net/bnx2.c | |
parent | b50c2ea72a8ed6bc2a954019b6feb6ca41fce07e (diff) |
netdev: remove HAVE_ leftovers
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2.c')
-rw-r--r-- | drivers/net/bnx2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c index a7b6b12c1c05..5917b941aca2 100644 --- a/drivers/net/bnx2.c +++ b/drivers/net/bnx2.c | |||
@@ -7668,7 +7668,7 @@ bnx2_change_mtu(struct net_device *dev, int new_mtu) | |||
7668 | return (bnx2_change_ring_size(bp, bp->rx_ring_size, bp->tx_ring_size)); | 7668 | return (bnx2_change_ring_size(bp, bp->rx_ring_size, bp->tx_ring_size)); |
7669 | } | 7669 | } |
7670 | 7670 | ||
7671 | #if defined(HAVE_POLL_CONTROLLER) || defined(CONFIG_NET_POLL_CONTROLLER) | 7671 | #ifdef CONFIG_NET_POLL_CONTROLLER |
7672 | static void | 7672 | static void |
7673 | poll_bnx2(struct net_device *dev) | 7673 | poll_bnx2(struct net_device *dev) |
7674 | { | 7674 | { |
@@ -8280,7 +8280,7 @@ static const struct net_device_ops bnx2_netdev_ops = { | |||
8280 | #ifdef BCM_VLAN | 8280 | #ifdef BCM_VLAN |
8281 | .ndo_vlan_rx_register = bnx2_vlan_rx_register, | 8281 | .ndo_vlan_rx_register = bnx2_vlan_rx_register, |
8282 | #endif | 8282 | #endif |
8283 | #if defined(HAVE_POLL_CONTROLLER) || defined(CONFIG_NET_POLL_CONTROLLER) | 8283 | #ifdef CONFIG_NET_POLL_CONTROLLER |
8284 | .ndo_poll_controller = poll_bnx2, | 8284 | .ndo_poll_controller = poll_bnx2, |
8285 | #endif | 8285 | #endif |
8286 | }; | 8286 | }; |