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: ethernet: ti: Remove unused declarations

Commit e8609e69470f ("net: ethernet: ti: am65-cpsw: Convert to PHYLINK")
removed am65_cpsw_nuss_adjust_link() but not its declaration.
Commit 84640e27f230 ("net: netcp: Add Keystone NetCP core ethernet driver")
declared but never implemented netcp_device_find_module().

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Acked-by: Roger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/20230821134029.40084-1-yuehaibing@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Yue Haibing and committed by
Jakub Kicinski
a491add1 dff96d7c

-3
-1
drivers/net/ethernet/ti/am65-cpsw-nuss.h
··· 192 192 193 193 extern const struct ethtool_ops am65_cpsw_ethtool_ops_slave; 194 194 195 - void am65_cpsw_nuss_adjust_link(struct net_device *ndev); 196 195 void am65_cpsw_nuss_set_p0_ptype(struct am65_cpsw_common *common); 197 196 void am65_cpsw_nuss_remove_tx_chns(struct am65_cpsw_common *common); 198 197 int am65_cpsw_nuss_update_tx_chns(struct am65_cpsw_common *common, int num_tx);
-2
drivers/net/ethernet/ti/netcp.h
··· 233 233 netcp_hook_rtn *hook_rtn, void *hook_data); 234 234 int netcp_unregister_rxhook(struct netcp_intf *netcp_priv, int order, 235 235 netcp_hook_rtn *hook_rtn, void *hook_data); 236 - void *netcp_device_find_module(struct netcp_device *netcp_device, 237 - const char *name); 238 236 239 237 /* SGMII functions */ 240 238 int netcp_sgmii_reset(void __iomem *sgmii_ofs, int port);