summaryrefslogtreecommitdiff
path: root/include/linux/fs_enet_pd.h
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2023-08-04 16:30:15 +0300
committerJakub Kicinski <kuba@kernel.org>2023-08-09 01:01:29 +0300
commit9359a48c65a3c2723d469ba11889c56387e4395a (patch)
tree822e66b6b036a96a0d7d6d06438d9f5c1cecf09c /include/linux/fs_enet_pd.h
parentcaaf482e265415778de74e262a6f153dd2f18fa4 (diff)
downloadlinux-9359a48c65a3c2723d469ba11889c56387e4395a.tar.xz
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>
Diffstat (limited to 'include/linux/fs_enet_pd.h')
-rw-r--r--include/linux/fs_enet_pd.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/fs_enet_pd.h b/include/linux/fs_enet_pd.h
index a1905e41c167..2b351b676467 100644
--- a/include/linux/fs_enet_pd.h
+++ b/include/linux/fs_enet_pd.h
@@ -123,7 +123,6 @@ struct fs_platform_info {
int napi_weight; /* NAPI weight */
int use_rmii; /* use RMII mode */
- int has_phy; /* if the network is phy container as well...*/
struct clk *clk_per; /* 'per' clock for register access */
};