net: axienet: factor out phy_node in struct axienet_local
authorAndy Chiu <andy.chiu@sifive.com>
Tue, 5 Apr 2022 09:19:27 +0000 (17:19 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Apr 2022 12:54:51 +0000 (13:54 +0100)
commitab3a5d4c6081dbcfd90d19cc9849af89c6985d0f
tree7a9a643676f7a0d9dc419ae41a4f34645cdeefb3
parentd1c4f93e3f0a023024a6f022a61528c06cf1daa9
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>
drivers/net/ethernet/xilinx/xilinx_axienet.h
drivers/net/ethernet/xilinx/xilinx_axienet_main.c