Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
datapath: make ndo_get_stats64 a void function
Upstream commit: commit bc1f44709cf27fb2a5766cadafe7e2ad5e9cb221 Author: stephen hemminger <stephen@networkplumber.org> Date: Fri Jan 6 19:12:52 2017 -0800 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> This seems to be fine for all prior Linux versions as well. Signed-off-by: Jarno Rajahalme <jarno@ovn.org>
- Loading branch information