diff options
author | Heiner Kallweit <[email protected]> | 2024-03-07 22:16:12 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-03-11 13:46:27 -0700 |
commit | c786459fc827216447b34d716d0a9f8f6a79bf73 (patch) | |
tree | 6dfe584aaf565b0700ec7853ed3c753ec7d0a8f4 /scripts/gdb/linux/stackdepot.py | |
parent | 22ca20fd12f8b515d74c5e8e8a57e3c3d97def20 (diff) |
net: phy: simplify a check in phy_check_link_status
Handling case err == 0 in the other branch allows to simplify the
code. In addition I assume in "err & phydev->eee_cfg.tx_lpi_enabled"
it should have been a logical and operator. It works as expected also
with the bitwise and, but using a bitwise and with a bool value looks
ugly to me.
Signed-off-by: Heiner Kallweit <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/stackdepot.py')
0 files changed, 0 insertions, 0 deletions