Skip to content

Commit ecec0eb

Browse files
Russell King (Oracle)davem330
authored andcommitted
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) <[email protected]> Reviewed-by: Steen Hegelund <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent ef63461 commit ecec0eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/net/pcs/pcs-lynx.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,11 @@ static void lynx_pcs_get_state(struct phylink_pcs *pcs,
112112
}
113113

114114
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",
116116
phy_modes(state->interface),
117117
phy_speed_to_str(state->speed),
118118
phy_duplex_to_str(state->duplex),
119-
state->link, state->an_enabled, state->an_complete);
119+
state->link, state->an_complete);
120120
}
121121

122122
static int lynx_pcs_config_giga(struct mdio_device *pcs, unsigned int mode,

0 commit comments

Comments
 (0)