Skip to content
Commit fd477858 authored by Daniil Tatianin's avatar Daniil Tatianin Committed by David S. Miller
Browse files

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: default avatarDaniil Tatianin <d-tatianin@yandex-team.ru>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9deb1e9f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment