OpenCloudOS-Kernel/drivers/net/ethernet/alacritech
stephen hemminger bc1f44709c 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: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-01-08 17:51:44 -05:00
..
Kconfig
Makefile
slic.h
slicoss.c net: make ndo_get_stats64 a void function 2017-01-08 17:51:44 -05:00