diff options
author | Heiner Kallweit <[email protected]> | 2024-02-20 22:55:38 +0100 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2024-02-27 09:07:34 +0100 |
commit | b38061fe9cfa90a781e9e59fc761191fc8b469a1 (patch) | |
tree | 35e18a2cf560eb08bced66e9c32d53722f8a7984 /scripts/generate_rust_analyzer.py | |
parent | 55a7246025cd3d5197d1733585e450eb5cdda456 (diff) |
net: phy: simplify genphy_c45_ethtool_set_eee
Simplify the function, no functional change intended.
- Remove not needed variable unsupp, I think code is even better
readable now.
- Move setting phydev->eee_enabled out of the if clause
- Simplify return value handling
Signed-off-by: Heiner Kallweit <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions