diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2022-03-11 11:50:13 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-03-12 14:50:56 +0300 |
commit | d5f3c81c569f50b534400d3e9b84d05e65d4f229 (patch) | |
tree | 167c1870e98c5b9a93b17665e55e9e4f200023e6 /drivers/net/usb/asix.h | |
parent | 5436fb3fd4c1f31f2cc4dadf69259e633351c1ff (diff) | |
download | linux-d5f3c81c569f50b534400d3e9b84d05e65d4f229.tar.xz |
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 <o.rempel@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/asix.h')
-rw-r--r-- | drivers/net/usb/asix.h | 1 |
1 files changed, 0 insertions, 1 deletions
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; }; |