diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2017-04-07 10:17:39 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-07 07:03:33 -0700 |
commit | 82d8293895cf3c23ec4957eeed484d5a5ce9021a (patch) | |
tree | 5905675c9f6bf53899341c70dc1627474f4e5005 /drivers/net/usb/pegasus.h | |
parent | 6ffa770e311a11e760777b8a527a8d9562628b20 (diff) | |
download | linux-82d8293895cf3c23ec4957eeed484d5a5ce9021a.tar.gz linux-82d8293895cf3c23ec4957eeed484d5a5ce9021a.tar.bz2 linux-82d8293895cf3c23ec4957eeed484d5a5ce9021a.zip |
usbnet: pegasus: Use net_device_stats from struct net_device
Instead of using a private copy of struct net_device_stats in struct
pegasus, use stats from struct net_device. Also remove the now
unnecessary .ndo_get_stats function.
Cc: Petko Manolov <petkan@nucleusys.com>
Cc: linux-usb@vger.kernel.org
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/pegasus.h')
-rw-r--r-- | drivers/net/usb/pegasus.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/usb/pegasus.h b/drivers/net/usb/pegasus.h index d15646244fdf..9b7ea9c9167d 100644 --- a/drivers/net/usb/pegasus.h +++ b/drivers/net/usb/pegasus.h @@ -83,7 +83,6 @@ typedef struct pegasus { struct usb_device *usb; struct usb_interface *intf; struct net_device *net; - struct net_device_stats stats; struct mii_if_info mii; unsigned flags; unsigned features; |