diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2019-11-21 12:02:05 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2020-01-27 10:33:24 +0000 |
commit | 4a0389601ff00ec8ddab6e387e49eca764e95a5e (patch) | |
tree | 8dc48dd19370df3311a672979ecdd5f340e7b28a /init | |
parent | bd339d6574702f8321145d97cc5a158fb33045cd (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 <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions