diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2010-01-27 11:17:41 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-28 15:01:35 +0100 |
commit | 257ddbdad13cd3c4f7d03b85af632c508aa8abc9 (patch) | |
tree | d3b85a20a32fb2a9817016131f164cab85cafd82 /drivers/net/bnx2x_main.c | |
parent | net/atm: Cleanup dprint/ddprintk #defines and uses (diff) | |
download | linux-257ddbdad13cd3c4f7d03b85af632c508aa8abc9.tar.xz linux-257ddbdad13cd3c4f7d03b85af632c508aa8abc9.zip |
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/bnx2x_main.c')
-rw-r--r-- | drivers/net/bnx2x_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c index ca4ed634d55e..ffc7381969ae 100644 --- a/drivers/net/bnx2x_main.c +++ b/drivers/net/bnx2x_main.c @@ -11731,7 +11731,7 @@ static void bnx2x_vlan_rx_register(struct net_device *dev, #endif -#if defined(HAVE_POLL_CONTROLLER) || defined(CONFIG_NET_POLL_CONTROLLER) +#ifdef CONFIG_NET_POLL_CONTROLLER static void poll_bnx2x(struct net_device *dev) { struct bnx2x *bp = netdev_priv(dev); @@ -11755,7 +11755,7 @@ static const struct net_device_ops bnx2x_netdev_ops = { #ifdef BCM_VLAN .ndo_vlan_rx_register = bnx2x_vlan_rx_register, #endif -#if defined(HAVE_POLL_CONTROLLER) || defined(CONFIG_NET_POLL_CONTROLLER) +#ifdef CONFIG_NET_POLL_CONTROLLER .ndo_poll_controller = poll_bnx2x, #endif }; |