diff options
| author | Egil Hjelmeland <[email protected]> | 2017-08-05 13:05:50 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-08-07 14:18:01 -0700 |
| commit | 0a967b4a8e4d5e4e5e50e799bb9d8aa4218c6b2f (patch) | |
| tree | 5812c1a71068c828e4074c5dd3e853bc5442afb3 /tools/perf/scripts/python/netdev-times.py | |
| parent | 9c84258ed68a1dc3c58a16741747a19df9256c5e (diff) | |
net: dsa: lan9303: refactor lan9303_get_ethtool_stats
In lan9303_get_ethtool_stats: Get rid of 0x400 constant magic
by using new lan9303_read_switch_reg() inside loop.
Reduced scope of two variables.
Signed-off-by: Egil Hjelmeland <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions