diff options
author | Alexander Beregalov <a.beregalov@gmail.com> | 2009-04-15 11:58:28 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-16 13:20:05 +0400 |
commit | 84381eed93c974024402eda250c9e7890b72ca4a (patch) | |
tree | 2451e538db5f290605d240c7c65d855e08495923 /drivers/net/usb/usbnet.c | |
parent | d130fe5c95739472b61b30f3f2b401ee43d5e3ea (diff) | |
download | linux-84381eed93c974024402eda250c9e7890b72ca4a.tar.xz |
usbnet: remove old compat_net_dev_ops code
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>
Diffstat (limited to 'drivers/net/usb/usbnet.c')
-rw-r--r-- | drivers/net/usb/usbnet.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/usb/usbnet.c b/drivers/net/usb/usbnet.c index f3a2fce6166c..2b8b9036aff6 100644 --- a/drivers/net/usb/usbnet.c +++ b/drivers/net/usb/usbnet.c @@ -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; |