]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: stmmac: socfpga: Remove unused pcs-mdiodev field
authorMaxime Chevallier <maxime.chevallier@bootlin.com>
Thu, 24 Apr 2025 07:12:22 +0000 (09:12 +0200)
committerJakub Kicinski <kuba@kernel.org>
Mon, 28 Apr 2025 13:17:46 +0000 (06:17 -0700)
commit8fb33581bb8a9d27e021723cbccef2936c5ad671
tree8832284880962744c76d72183636130edc358702
parent3bf19459da62113122cfb2b1305677b034529742
net: stmmac: socfpga: Remove unused pcs-mdiodev field

When dwmac-socfpga was converted to using the Lynx PCS (previously
referred to in the driver as the Altera TSE PCS), the
lynx_pcs_create_mdiodev() was used to create the pcs instance.

As this function didn't exist in the early versions of the series, a
local mdiodev object was stored for PCS creation. It was never used, but
still made it into the driver, so remove it.

Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/20250424071223.221239-4-maxime.chevallier@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c