summaryrefslogtreecommitdiff
path: root/include/linux/usb
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2020-11-10 22:51:03 +0300
committerJakub Kicinski <kuba@kernel.org>2020-11-13 01:58:27 +0300
commit323955a0498ccaa1263e369b91efd8f4310768b6 (patch)
treee485971300c8e82f24bbfe64812bfdfd4f0db6f3 /include/linux/usb
parentaf0c351cc34857ad7b254850b9392d99da46be9e (diff)
downloadlinux-323955a0498ccaa1263e369b91efd8f4310768b6.tar.xz
net: usb: switch to dev_get_tstats64 and remove usbnet_get_stats64 alias
Replace usbnet_get_stats64() with new identical core function dev_get_tstats64() in all users and remove usbnet_get_stats64(). Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Acked-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/usb')
-rw-r--r--include/linux/usb/usbnet.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/usb/usbnet.h b/include/linux/usb/usbnet.h
index 1f6dfa977e7f..88a7673894d5 100644
--- a/include/linux/usb/usbnet.h
+++ b/include/linux/usb/usbnet.h
@@ -284,6 +284,4 @@ extern void usbnet_status_stop(struct usbnet *dev);
extern void usbnet_update_max_qlen(struct usbnet *dev);
-#define usbnet_get_stats64 dev_get_tstats64
-
#endif /* __LINUX_USB_USBNET_H */