]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: phy: remove genphy_c45_eee_is_active()'s is_enabled arg
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Thu, 5 Dec 2024 10:42:10 +0000 (10:42 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sat, 7 Dec 2024 01:47:31 +0000 (17:47 -0800)
commit8f1c716090a7ed20fea802b63b37758169d59b81
tree7f5e6d38a70ac83398dfb738bd8c551ebf7f1be3
parent92f7acb825ec272261a2057e0f9e0b1c76198dae
net: phy: remove genphy_c45_eee_is_active()'s is_enabled arg

All callers to genphy_c45_eee_is_active() now pass NULL as the
is_enabled argument, which means we never use the value computed
in this function. Remove the argument and clean up this function.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://patch.msgid.link/E1tJ9JC-006LIt-Ne@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/phy-c45.c
drivers/net/phy/phy.c
include/linux/phy.h