diff options
author | Daniil Tatianin <d-tatianin@yandex-team.ru> | 2022-12-26 14:48:24 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-12-28 11:55:24 +0000 |
commit | fd4778581d61d8848b532f8cdc9b325138748437 (patch) | |
tree | f33b39007ba1a688df2f402a97f4cabaf38d605b /lib | |
parent | 9deb1e9fb88b1120a908676fa33bdf9e2eeaefce (diff) | |
download | linux-fd4778581d61d8848b532f8cdc9b325138748437.tar.bz2 |
net/ethtool/ioctl: remove if n_stats checks from ethtool_get_phy_stats
Now that we always early return if we don't have any stats we can remove
these checks as they're no longer necessary.
Signed-off-by: Daniil Tatianin <d-tatianin@yandex-team.ru>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions