diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2024-11-12 21:33:11 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-11-13 18:50:11 -0800 |
commit | 3bf8163a36adb550536c0de8ae00685f050edf53 (patch) | |
tree | e9426644d77248f8865619f81885fed85b092090 /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | |
parent | 6b998404c71ecff9ebeed343c1ce21f9df3ef131 (diff) | |
download | linux-3bf8163a36adb550536c0de8ae00685f050edf53.tar.gz linux-3bf8163a36adb550536c0de8ae00685f050edf53.tar.bz2 linux-3bf8163a36adb550536c0de8ae00685f050edf53.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
0 files changed, 0 insertions, 0 deletions