From d5f3c81c569f50b534400d3e9b84d05e65d4f229 Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Fri, 11 Mar 2022 09:50:13 +0100 Subject: net: usb: asix: make use of mdiobus_get_phy and phy_connect_direct In most cases we use own mdio bus, there is no need to create and store string for the PHY address. Signed-off-by: Oleksij Rempel Signed-off-by: David S. Miller --- drivers/net/usb/asix.h | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/net/usb/asix.h') diff --git a/drivers/net/usb/asix.h b/drivers/net/usb/asix.h index 691f37f45238..072760d76a72 100644 --- a/drivers/net/usb/asix.h +++ b/drivers/net/usb/asix.h @@ -184,7 +184,6 @@ struct asix_common_private { struct mii_bus *mdio; struct phy_device *phydev; u16 phy_addr; - char phy_name[20]; bool embd_phy; u8 chipcode; }; -- cgit v1.2.3