wifi: qtnfmac: Remove generic .ndo_get_stats64
authorBreno Leitao <leitao@debian.org>
Fri, 26 Apr 2024 09:31:49 +0000 (02:31 -0700)
committerKalle Valo <kvalo@kernel.org>
Thu, 2 May 2024 07:20:04 +0000 (10:20 +0300)
commit8886b6d681f28d838cb30ace8ce73f8b96bc927d
treebde71a6d01b59ef08a15ca50d241d24ecc0d6b23
parent3d1a6e573bb12c86d6df0436a5febb3e0e5825f5
wifi: qtnfmac: 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>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240426093156.2002258-2-leitao@debian.org
drivers/net/wireless/quantenna/qtnfmac/core.c