usbnet: remove old compat_net_dev_ops code
authorAlexander Beregalov <a.beregalov@gmail.com>
Wed, 15 Apr 2009 07:58:28 +0000 (07:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Apr 2009 09:20:05 +0000 (02:20 -0700)
Since all usb network drivers are already converted to net_device_ops
this code is useless.

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/usbnet.c

index f3a2fce6166ccebc68dc6650e9b7ac8ed6fb4be4..2b8b9036aff6159706ee6de47b2cccceee37f941 100644 (file)
@@ -1185,12 +1185,6 @@ usbnet_probe (struct usb_interface *udev, const struct usb_device_id *prod)
 #endif
 
        net->netdev_ops = &usbnet_netdev_ops;
-#ifdef CONFIG_COMPAT_NET_DEV_OPS
-       net->hard_start_xmit = usbnet_start_xmit;
-       net->open = usbnet_open;
-       net->stop = usbnet_stop;
-       net->tx_timeout = usbnet_tx_timeout;
-#endif
        net->watchdog_timeo = TX_TIMEOUT_JIFFIES;
        net->ethtool_ops = &usbnet_ethtool_ops;