1 From ecec0ebbc6381a5a375f1cf10c4858f24e91e2ef Mon Sep 17 00:00:00 2001
2 From: "Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>
3 Date: Wed, 15 Mar 2023 14:46:49 +0000
4 Subject: [PATCH] net: pcs: lynx: don't print an_enabled in pcs_get_state()
6 an_enabled will be going away, and in any case, pcs_get_state() should
7 not be updating this member. Remove the print.
9 Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
10 Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com>
11 Signed-off-by: David S. Miller <davem@davemloft.net>
13 drivers/net/pcs/pcs-lynx.c | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
16 --- a/drivers/net/pcs/pcs-lynx.c
17 +++ b/drivers/net/pcs/pcs-lynx.c
18 @@ -115,11 +115,11 @@ static void lynx_pcs_get_state(struct ph
21 dev_dbg(&lynx->mdio->dev,
22 - "mode=%s/%s/%s link=%u an_enabled=%u an_complete=%u\n",
23 + "mode=%s/%s/%s link=%u an_complete=%u\n",
24 phy_modes(state->interface),
25 phy_speed_to_str(state->speed),
26 phy_duplex_to_str(state->duplex),
27 - state->link, state->an_enabled, state->an_complete);
28 + state->link, state->an_complete);
31 static int lynx_pcs_config_giga(struct mdio_device *pcs, unsigned int mode,