net: usb: qmi_wwan: Remove generic .ndo_get_stats64
authorBreno Leitao <leitao@debian.org>
Tue, 9 Apr 2024 13:33:06 +0000 (06:33 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 12 Apr 2024 02:45:53 +0000 (19:45 -0700)
commit3cddfeca9f02d95f87a562c5bdd1f46cf4e35632
treeafbe1802721ac8e24b60293f7e219b3c6085e338
parent8959bf2acfbccd6abd2f1bf844716a27355103b2
net: usb: qmi_wwan: Remove generic .ndo_get_stats64

Commit 3e2f544dd8a33 ("net: get stats64 if device if driver is
configured") moved the callback to dev_get_tstats64() to net core, so,
unless the driver is doing some custom stats collection, it does not
need to set .ndo_get_stats64.

Since this driver is now relying in NETDEV_PCPU_STAT_TSTATS, then, it
doesn't need to set the dev_get_tstats64() generic .ndo_get_stats64
function pointer.

Signed-off-by: Breno Leitao <leitao@debian.org>
Link: https://lore.kernel.org/r/20240409133307.2058099-2-leitao@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/usb/qmi_wwan.c