net: sh_eth: Drop phy_addr assignment

Drop unused struct sh_eth_info *port_info .phy_addr member assignment.
PHY address is extracted from control DT. No functional change intended.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
This commit is contained in:
Marek Vasut
2025-07-10 19:26:55 +02:00
parent 787dafb15a
commit 397b5e9ce4
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -727,7 +727,6 @@ static int sh_ether_probe(struct udevice *udev)
priv->bus = mdiodev;
port_info->phy_addr = CFG_SH_ETHER_PHY_ADDR;
port_info->iobase = (void __iomem *)(uintptr_t)BASE_IO_ADDR;
#if CONFIG_IS_ENABLED(CLK)
-1
View File
@@ -78,7 +78,6 @@ struct sh_eth_info {
u8 *rx_buf_alloc;
u8 *rx_buf_base;
u8 mac_addr[6];
u8 phy_addr;
struct eth_device *dev;
struct phy_device *phydev;
void __iomem *iobase;