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:
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user