diff options
| author | Russell King <[email protected]> | 2019-12-17 13:39:31 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-12-19 12:52:34 -0800 |
| commit | 760fa78f3509d3d414804c4017de3d0dba995081 (patch) | |
| tree | b4eda0dd8c1251ec275b4c1ab2f7dae55f8044dc /tools/perf/scripts/python | |
| parent | 98f92831c561e43e8d4dafa7165e996af4dc8ac3 (diff) | |
net: phy: marvell: use positive logic for link state
Rather than using negative logic:
if (there is no link)
set link = 0
else
set link = 1
use the more natural positive logic:
if (there is link)
set link = 1
else
set link = 0
Signed-off-by: Russell King <[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')
0 files changed, 0 insertions, 0 deletions