diff options
author | Andy Chiu <andy.chiu@sifive.com> | 2022-04-05 12:19:27 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-06 15:54:51 +0300 |
commit | ab3a5d4c6081dbcfd90d19cc9849af89c6985d0f (patch) | |
tree | 7a9a643676f7a0d9dc419ae41a4f34645cdeefb3 /drivers/net/ethernet/xilinx/xilinx_axienet.h | |
parent | d1c4f93e3f0a023024a6f022a61528c06cf1daa9 (diff) | |
download | linux-ab3a5d4c6081dbcfd90d19cc9849af89c6985d0f.tar.xz |
net: axienet: factor out phy_node in struct axienet_local
the struct member `phy_node` of struct axienet_local is not used by the
driver anymore after initialization. It might be a remnent of old code
and could be removed.
Signed-off-by: Andy Chiu <andy.chiu@sifive.com>
Reviewed-by: Greentime Hu <greentime.hu@sifive.com>
Reviewed-by: Robert Hancock <robert.hancock@calian.com>
Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/xilinx/xilinx_axienet.h')
-rw-r--r-- | drivers/net/ethernet/xilinx/xilinx_axienet.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/xilinx/xilinx_axienet.h b/drivers/net/ethernet/xilinx/xilinx_axienet.h index 0f9c88dd1a4a..d5c1e5c4a508 100644 --- a/drivers/net/ethernet/xilinx/xilinx_axienet.h +++ b/drivers/net/ethernet/xilinx/xilinx_axienet.h @@ -433,8 +433,6 @@ struct axienet_local { struct net_device *ndev; struct device *dev; - struct device_node *phy_node; - struct phylink *phylink; struct phylink_config phylink_config; |