net: pcs: lynx: no need to read LPA in lynx_pcs_get_state_2500basex()
authorVladimir Oltean <vladimir.oltean@nxp.com>
Mon, 13 May 2024 11:53:45 +0000 (14:53 +0300)
committerJakub Kicinski <kuba@kernel.org>
Mon, 13 May 2024 23:37:18 +0000 (16:37 -0700)
commitafd29f36aaf733985df1ba162424581b8b8853b4
tree43bc28e2512bcb4617b2f44ee036cd515a323090
parentd20e391c769710b30ae533074936379fd881942e
net: pcs: lynx: no need to read LPA in lynx_pcs_get_state_2500basex()

Nothing useful is done with the LPA variable in lynx_pcs_get_state_2500basex(),
we can just remove the read.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20240513115345.2452799-1-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/pcs/pcs-lynx.c