diff options
author | Breno Leitao <leitao@debian.org> | 2024-03-14 16:49:08 -0600 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-03-19 11:22:49 +0100 |
commit | 8aa7bf5ed41f2014b7a4d8db0d2b458d9c3aad85 (patch) | |
tree | 09dd7c758de6b7cf22ff94a8193739009f1750be /drivers/net/wireguard/device.h | |
parent | a675be08469817211a68bbcb8c67429edcd49d34 (diff) | |
download | wireguard-linux-trimmed-8aa7bf5ed41f2014b7a4d8db0d2b458d9c3aad85.tar.gz wireguard-linux-trimmed-8aa7bf5ed41f2014b7a4d8db0d2b458d9c3aad85.zip |
wireguard: device: 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>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/wireguard/device.h')
0 files changed, 0 insertions, 0 deletions