net: geneve: Remove generic .ndo_get_stats64
authorBreno Leitao <leitao@debian.org>
Tue, 5 Mar 2024 17:29:10 +0000 (09:29 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 7 Mar 2024 04:38:35 +0000 (20:38 -0800)
commit771d791d7ccf5397b75ba7257765aeb39f27c758
treeafcb40546b12ea270cbd332affc34f254474bdd0
parentf5f07d06007bf62eb7d5b46d261864306ec08e2e
net: geneve: 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>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240305172911.502058-2-leitao@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/geneve.c