net: fs_enet: Remove has_phy field in fs_platform_info struct
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Fri, 4 Aug 2023 13:30:15 +0000 (15:30 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 8 Aug 2023 22:01:29 +0000 (15:01 -0700)
commit9359a48c65a3c2723d469ba11889c56387e4395a
tree822e66b6b036a96a0d7d6d06438d9f5c1cecf09c
parentcaaf482e265415778de74e262a6f153dd2f18fa4
net: fs_enet: Remove has_phy field in fs_platform_info struct

Since commit 3dd82a1ea724 ("[POWERPC] CPM: Always use new binding.")
has_phy field is never set.

Remove dead code and remove the field.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/bb5264e09e18f0ce8a0dbee399926a59f33cb248.1691155346.git.christophe.leroy@csgroup.eu
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/freescale/fs_enet/mac-fec.c
include/linux/fs_enet_pd.h