aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/ipheth.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/usb/ipheth.c')
-rw-r--r--drivers/net/usb/ipheth.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/drivers/net/usb/ipheth.c b/drivers/net/usb/ipheth.c
index 81126ff85e05..15772b1b6a91 100644
--- a/drivers/net/usb/ipheth.c
+++ b/drivers/net/usb/ipheth.c
@@ -409,12 +409,6 @@ static void ipheth_tx_timeout(struct net_device *net)
409 usb_unlink_urb(dev->tx_urb); 409 usb_unlink_urb(dev->tx_urb);
410} 410}
411 411
412static struct net_device_stats *ipheth_stats(struct net_device *net)
413{
414 struct ipheth_device *dev = netdev_priv(net);
415 return &dev->net->stats;
416}
417
418static u32 ipheth_ethtool_op_get_link(struct net_device *net) 412static u32 ipheth_ethtool_op_get_link(struct net_device *net)
419{ 413{
420 struct ipheth_device *dev = netdev_priv(net); 414 struct ipheth_device *dev = netdev_priv(net);
@@ -426,11 +420,10 @@ static struct ethtool_ops ops = {
426}; 420};
427 421
428static const struct net_device_ops ipheth_netdev_ops = { 422static const struct net_device_ops ipheth_netdev_ops = {
429 .ndo_open = &ipheth_open, 423 .ndo_open = ipheth_open,
430 .ndo_stop = &ipheth_close, 424 .ndo_stop = ipheth_close,
431 .ndo_start_xmit = &ipheth_tx, 425 .ndo_start_xmit = ipheth_tx,
432 .ndo_tx_timeout = &ipheth_tx_timeout, 426 .ndo_tx_timeout = ipheth_tx_timeout,
433 .ndo_get_stats = &ipheth_stats,
434}; 427};
435 428
436static int ipheth_probe(struct usb_interface *intf, 429static int ipheth_probe(struct usb_interface *intf,