]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: usbnet: use new function dev_fetch_sw_netstats
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 12 Oct 2020 08:07:33 +0000 (10:07 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 14 Oct 2020 00:33:49 +0000 (17:33 -0700)
commitab2b3ff21b9f1378a563873badb4f3aec4210cc2
tree8e392b48922aab59e60c2745623fe2fc66e93f7d
parentec173778e96ed48e3b9b16de9029695845fc017c
net: usbnet: use new function dev_fetch_sw_netstats

Simplify the code by using new function dev_fetch_sw_netstats().

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/70ad3e33-8ea6-e12e-31de-5fec7a3c4f6e@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/usb/usbnet.c