Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

net: fs_enet: Remove fs_get_id()

fs_get_id() hasn't been used since commit b219108cbace ("fs_enet:
Remove !CONFIG_PPC_CPM_NEW_BINDING code")

Remove it.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/7a53b88cc40302fcbea59554f5e7067e3594ad53.1691155346.git.christophe.leroy@csgroup.eu
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Christophe Leroy and committed by
Jakub Kicinski
26bbbef8 ae9e78a9

-11
-11
include/linux/fs_enet_pd.h
··· 151 151 u32 mii_speed; 152 152 }; 153 153 154 - static inline int fs_get_id(struct fs_platform_info *fpi) 155 - { 156 - if(strstr(fpi->fs_type, "SCC")) 157 - return fs_scc_index2id(fpi->fs_no); 158 - if(strstr(fpi->fs_type, "FCC")) 159 - return fs_fcc_index2id(fpi->fs_no); 160 - if(strstr(fpi->fs_type, "FEC")) 161 - return fs_fec_index2id(fpi->fs_no); 162 - return fpi->fs_no; 163 - } 164 - 165 154 #endif