Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: pcs: lynx: don't print an_enabled in pcs_get_state()

an_enabled will be going away, and in any case, pcs_get_state() should
not be updating this member. Remove the print.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Russell King (Oracle) and committed by
David S. Miller
ecec0ebb ef63461c

+2 -2
+2 -2
drivers/net/pcs/pcs-lynx.c
··· 112 112 } 113 113 114 114 dev_dbg(&lynx->mdio->dev, 115 - "mode=%s/%s/%s link=%u an_enabled=%u an_complete=%u\n", 115 + "mode=%s/%s/%s link=%u an_complete=%u\n", 116 116 phy_modes(state->interface), 117 117 phy_speed_to_str(state->speed), 118 118 phy_duplex_to_str(state->duplex), 119 - state->link, state->an_enabled, state->an_complete); 119 + state->link, state->an_complete); 120 120 } 121 121 122 122 static int lynx_pcs_config_giga(struct mdio_device *pcs, unsigned int mode,