Skip to content
Snippets Groups Projects
Commit bc1f4470 authored by Stephen Hemminger's avatar Stephen Hemminger Committed by David S. Miller
Browse files

net: make ndo_get_stats64 a void function


The network device operation for reading statistics is only called
in one place, and it ignores the return value. Having a structure
return value is potentially confusing because some future driver could
incorrectly assume that the return value was used.

Fix all drivers with ndo_get_stats64 to have a void function.

Signed-off-by: default avatarStephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 63c64de7
No related branches found
No related tags found
Loading
Showing
with 45 additions and 78 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment