diff options
Diffstat (limited to 'drivers')
-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) | |||
1185 | #endif | 1185 | #endif |
1186 | 1186 | ||
1187 | net->netdev_ops = &usbnet_netdev_ops; | 1187 | net->netdev_ops = &usbnet_netdev_ops; |
1188 | #ifdef CONFIG_COMPAT_NET_DEV_OPS | ||
1189 | net->hard_start_xmit = usbnet_start_xmit; | ||
1190 | net->open = usbnet_open; | ||
1191 | net->stop = usbnet_stop; | ||
1192 | net->tx_timeout = usbnet_tx_timeout; | ||
1193 | #endif | ||
1194 | net->watchdog_timeo = TX_TIMEOUT_JIFFIES; | 1188 | net->watchdog_timeo = TX_TIMEOUT_JIFFIES; |
1195 | net->ethtool_ops = &usbnet_ethtool_ops; | 1189 | net->ethtool_ops = &usbnet_ethtool_ops; |
1196 | 1190 | ||