commit | 3bf8163a36adb550536c0de8ae00685f050edf53 | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Tue Nov 12 21:33:11 2024 +0100 |
committer | Jakub Kicinski <kuba@kernel.org> | Wed Nov 13 18:50:11 2024 -0800 |
tree | e9426644d77248f8865619f81885fed85b092090 | |
parent | 6b998404c71ecff9ebeed343c1ce21f9df3ef131 [diff] |
net: phy: c45: don't use temporary linkmode bitmaps in genphy_c45_ethtool_get_eee genphy_c45_eee_is_active() populates both bitmaps only if it returns successfully. So we can avoid the overhead of the temporary bitmaps. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Link: https://patch.msgid.link/b0832102-28ab-4223-b879-91fb1fc11278@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>