mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 14:21:47 +00:00
net: ethernet: ti: Remove unused declarations
Commite8609e6947
("net: ethernet: ti: am65-cpsw: Convert to PHYLINK") removed am65_cpsw_nuss_adjust_link() but not its declaration. Commit84640e27f2
("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>
This commit is contained in:
parent
dff96d7c0c
commit
a491add19f
@ -192,7 +192,6 @@ struct am65_cpsw_ndev_priv {
|
||||
|
||||
extern const struct ethtool_ops am65_cpsw_ethtool_ops_slave;
|
||||
|
||||
void am65_cpsw_nuss_adjust_link(struct net_device *ndev);
|
||||
void am65_cpsw_nuss_set_p0_ptype(struct am65_cpsw_common *common);
|
||||
void am65_cpsw_nuss_remove_tx_chns(struct am65_cpsw_common *common);
|
||||
int am65_cpsw_nuss_update_tx_chns(struct am65_cpsw_common *common, int num_tx);
|
||||
|
@ -233,8 +233,6 @@ int netcp_register_rxhook(struct netcp_intf *netcp_priv, int order,
|
||||
netcp_hook_rtn *hook_rtn, void *hook_data);
|
||||
int netcp_unregister_rxhook(struct netcp_intf *netcp_priv, int order,
|
||||
netcp_hook_rtn *hook_rtn, void *hook_data);
|
||||
void *netcp_device_find_module(struct netcp_device *netcp_device,
|
||||
const char *name);
|
||||
|
||||
/* SGMII functions */
|
||||
int netcp_sgmii_reset(void __iomem *sgmii_ofs, int port);
|
||||
|
Loading…
Reference in New Issue
Block a user