bcm63xx_enet: Stop pretending to support netpoll
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 11 Mar 2014 21:33:35 +0000 (14:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Mar 2014 19:23:43 +0000 (15:23 -0400)
bcm_enet_netpoll does not exist, and causing
bcm63xx_net to fail to build when NET_POLL_CONTROLLER
is defined.

Remove the bogus .ndo_poll_controller = bcm_enet_netpoll

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bcm63xx_enet.c

index b9a5fb6400d3cf1917511dec27c92486a46f12fc..a7d11f5565d69342ad296471a9a5d44f8d7c51d5 100644 (file)
@@ -1722,9 +1722,6 @@ static const struct net_device_ops bcm_enet_ops = {
        .ndo_set_rx_mode        = bcm_enet_set_multicast_list,
        .ndo_do_ioctl           = bcm_enet_ioctl,
        .ndo_change_mtu         = bcm_enet_change_mtu,
-#ifdef CONFIG_NET_POLL_CONTROLLER
-       .ndo_poll_controller = bcm_enet_netpoll,
-#endif
 };
 
 /*