net: phylink: remove an_enabled
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tue, 21 Mar 2023 15:58:54 +0000 (15:58 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 23 Mar 2023 05:43:05 +0000 (22:43 -0700)
commit4ee9b0dcf09f426fbad7ed132d73ea2ba379d8ee
treee0ff90b8290efbe3004ad0307b0fdcebe0f330fa
parent459fd2f11204c962e3153020f4f56748e0e10afb
net: phylink: remove an_enabled

The Autoneg bit in the advertising bitmap and state->an_enabled are
always identical. state->an_enabled is now no longer used by any
drivers, so lets kill this duplication.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/phylink.c
include/linux/phylink.h