fs_enet: Remove unused fields in the fs_mii_bb_platform_info structure.
PATCH 1/1 fs_enet: Remove unused fields in the fs_mii_bb_platform_info structure.
The mdio_port, mdio_bit, mdc_port and mdc_bit fields in the fs_mii_bb_platform_info structure are left-overs from the move to the Phy Abstraction Layer subsystem. They can be safely removed.
--- arch/powerpc/sysdev/fsl_soc.c | 4 ---- include/linux/fs_enet_pd.h | 4 ---- 2 files changed, 0 insertions(+), 8 deletions(-)
arch/powerpc/sysdev/fsl_soc.c +0 -4
@@ -804,10 +804,6 @@ static int __init fs_enet_of_init(void) mdio_bb_prop[1 ]; fs_enet_mdio_bb_data.mdc_dat.bit = mdio_bb_prop[2 ]; - fs_enet_mdio_bb_data.mdio_port = - mdio_bb_prop[3 ]; - fs_enet_mdio_bb_data.mdc_port = - mdio_bb_prop[4 ]; fs_enet_mdio_bb_data.delay = mdio_bb_prop[5 ];
include/linux/fs_enet_pd.h +0 -4
@@ -103,10 +103,6 @@ struct fs_mii_bb_platform_info {struct fs_mii_bit mdio_dir;struct fs_mii_bit mdio_dat;struct fs_mii_bit mdc_dat; -int mdio_port;/* port & bit for MDIO */ -int mdio_bit; -int mdc_port;/* port & bit for MDC */ -int mdc_bit;int delay;/* delay in us */ int irq[32 ];/* irqs per phy's */ };
Signature · 12 lines
1.5.0 -- Laurent Pinchart CSE Semaphore Belgium Chaussée de Bruxelles, 732A B-1410 Waterloo Belgium T +32 (2) 387 42 59 F +32 (2) 387 42 75
Quoted 5 lines · Laurent Pinchart
The
mdio_port,mdio_bit,mdc_portandmdc_bitfields in thefs_mii_bb_platform_infostructure are left-overs from the move to the Phy Abstraction Layer subsystem. They can be safely removed.Signed-off-by Laurent Pinchart <[email protected]>
[snip]
Is there something wrong with the patch ?
Signature · 9 lines
Laurent Pinchart CSE Semaphore Belgium Chaussée de Bruxelles, 732A B-1410 Waterloo Belgium T +32 (2) 387 42 59 F +32 (2) 387 42 75
Quoted 9 lines · Laurent Pinchart
Quoted 5 lines · Laurent Pinchart
The
mdio_port,mdio_bit,mdc_portandmdc_bitfields in thefs_mii_bb_platform_infostructure are left-overs from the move to the Phy Abstraction Layer subsystem. They can be safely removed.Signed-off-by Laurent Pinchart <[email protected]>[snip]
Is there something wrong with the patch ?
No, the patch looks OK. However, note that non-PPC_CPM_NEW_BINDING code should go away altogether soon.
-Scott
Quoted 6 lines · Scott Wood
Quoted 5 lines · Laurent Pinchart
Quoted 4 lines · Laurent Pinchart
The
mdio_port,mdio_bit,mdc_portandmdc_bitfields in thefs_mii_bb_platform_infostructure are left-overs from the move to the Phy Abstraction Layer subsystem. They can be safely removed.
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
Signed-off-by Laurent Pinchart <[email protected]>[snip]
Is there something wrong with the patch ?
No, the patch looks OK. However, note that non-PPC_CPM_NEW_BINDING code should go away altogether soon.
also any such patch should normally go via netdev as its to a network driver.
- k