mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-15 10:42:40 -04:00
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>
This commit is contained in:
committed by
Jakub Kicinski
parent
3bf19459da
commit
8fb33581bb
@@ -59,7 +59,6 @@ struct socfpga_dwmac {
|
||||
void __iomem *sgmii_adapter_base;
|
||||
bool f2h_ptp_ref_clk;
|
||||
const struct socfpga_dwmac_ops *ops;
|
||||
struct mdio_device *pcs_mdiodev;
|
||||
};
|
||||
|
||||
static void socfpga_dwmac_fix_mac_speed(void *bsp_priv, int speed,
|
||||
|
||||
Reference in New Issue
Block a user