summaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/sierra_net.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2020-11-10 20:50:02 +0100
committerJakub Kicinski <kuba@kernel.org>2020-11-12 23:58:27 +0100
commitaf0c351cc34857ad7b254850b9392d99da46be9e (patch)
treea4f40458bd9eb04d78c548a0f32c1d97d8c5bf9f /drivers/net/usb/sierra_net.c
parentqtnfmac: switch to core handling of rx/tx byte/packet counters (diff)
downloadlinux-af0c351cc34857ad7b254850b9392d99da46be9e.tar.xz
linux-af0c351cc34857ad7b254850b9392d99da46be9e.zip
usbnet: switch to core handling of rx/tx byte/packet counters
Use netdev->tstats instead of a member of usbnet for storing a pointer to the per-cpu counters. This allows us to use core functionality for statistics handling. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/usb/sierra_net.c')
0 files changed, 0 insertions, 0 deletions