net: freescale: Remove unused declarations
Subsystems (4)
PATCH 1/1 net: freescale: Remove unused declarations
Commit 5d93cfcf7360 ("net: dpaa: Convert to phylink") removed fman_set_mac_active_pause()/fman_get_pause_cfg() but not declarations. Commit 48257c4f168e ("Add fs_enet ethernet network driver, for several embedded platforms.") declared but never implemented fs_enet_platform_init() and fs_enet_platform_cleanup().
--- drivers/net/ethernet/freescale/fman/mac.h | 4 ---- drivers/net/ethernet/freescale/fs_enet/fs_enet.h | 5 ----- 2 files changed, 9 deletions(-)
drivers/net/ethernet/freescale/fman/mac.h +0 -4
@@ -68,10 +68,6 @@ struct dpaa_eth_data {extern const char *mac_driver_description; -int fman_set_mac_active_pause (struct mac_device *mac_dev,bool rx,bool tx); - -void fman_get_pause_cfg (struct mac_device *mac_dev,bool *rx_pause, -bool *tx_pause);int fman_set_multi (struct net_device *net_dev,struct mac_device *mac_dev);#endif /* __MAC_H */
drivers/net/ethernet/freescale/fs_enet/fs_enet.h +0 -5
@@ -208,11 +208,6 @@ void fs_cleanup_bds(struct net_device *dev);#define DRV_MODULE_NAME "fs_enet"#define PFX DRV_MODULE_NAME ": " -/***************************************************************************/ - -int fs_enet_platform_init (void ); -void fs_enet_platform_cleanup (void ); -/***************************************************************************/ /* buffer descriptor access macros */
Signature · 1 line
2.34.1
Quoted 33 lines · Yue Haibing
Commit
5d93cfcf7360("net: dpaa: Convert to phylink") removed fman_set_mac_active_pause()/fman_get_pause_cfg() but not declarations. Commit48257c4f168e("Addfs_enetethernet network driver, for several embedded platforms.") declared but never implementedfs_enet_platform_init()andfs_enet_platform_cleanup().Signed-off-by Yue Haibing <[email protected]>--- drivers/net/ethernet/freescale/fman/mac.h | 4 ---- drivers/net/ethernet/freescale/fs_enet/fs_enet.h | 5 ----- 2 files changed, 9 deletions(-)drivers/net/ethernet/freescale/fman/mac.h +0
-4@@ -68,10 +68,6 @@ struct dpaa_eth_data {extern const char *mac_driver_description; -int fman_set_mac_active_pause (struct mac_device *mac_dev,bool rx,bool tx); - -void fman_get_pause_cfg (struct mac_device *mac_dev,bool *rx_pause, -bool *tx_pause);int fman_set_multi (struct net_device *net_dev,struct mac_device *mac_dev);#endif /* __MAC_H */ drivers/net/ethernet/freescale/fs_enet/fs_enet.h +0
-0@@ -208,11 +208,6 @@ void fs_cleanup_bds(struct net_device *dev);#define DRV_MODULE_NAME "fs_enet"
drivers/net/ethernet/freescale/fs_enet/fs_enet.h void fs_cleanup_bds(struct net_device *dev); · line 213
Quoted 10 lines
drivers/net/ethernet/freescale/fs_enet/fs_enet.h +0
-5#define PFX DRV_MODULE_NAME ": " -/***************************************************************************/ - -int fs_enet_platform_init (void ); -void fs_enet_platform_cleanup (void ); -/***************************************************************************/ /* buffer descriptor access macros */
Quoted 62 lines
-----Original Message-----
From: Yue Haibing <[email protected]>
Sent: 17 August 2023 16:42
To: Madalin Bucur <[email protected]>; Sean Anderson <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Camelia Alexandra Groza <[email protected]>; [email protected]; [email protected]
Cc: [email protected]; [email protected]
Subject: [PATCH net-next] net: freescale: Remove unused declarationsCommit
5d93cfcf7360("net: dpaa: Convert to phylink") removed fman_set_mac_active_pause()/fman_get_pause_cfg() but not declarations. Commit48257c4f168e("Addfs_enetethernet network driver, for several embedded platforms.") declared but never implementedfs_enet_platform_init()andfs_enet_platform_cleanup().Signed-off-by Yue Haibing <[email protected]>--- drivers/net/ethernet/freescale/fman/mac.h | 4 ---- drivers/net/ethernet/freescale/fs_enet/fs_enet.h | 5 ----- 2 files changed, 9 deletions(-)drivers/net/ethernet/freescale/fman/mac.h +0
-4@@ -68,10 +68,6 @@ struct dpaa_eth_data {extern const char *mac_driver_description; -int fman_set_mac_active_pause (struct mac_device *mac_dev,bool rx,bool tx); - -void fman_get_pause_cfg (struct mac_device *mac_dev,bool *rx_pause, -bool *tx_pause);int fman_set_multi (struct net_device *net_dev,struct mac_device *mac_dev);#endif /*
__MAC_H*/drivers/net/ethernet/freescale/fs_enet/fs_enet.h +0
-5@@ -208,11 +208,6 @@ void fs_cleanup_bds(struct net_device *dev);#define DRV_MODULE_NAME "fs_enet"#define PFX DRV_MODULE_NAME ": " -/************************************************************************ ***/ - -int fs_enet_platform_init (void ); -void fs_enet_platform_cleanup (void ); -/************************************************************************ ***/
/* buffer descriptor access macros */
Quoted 2 lines
--
2.34.1
Quoted 6 lines · Yue Haibing
Commit
5d93cfcf7360("net: dpaa: Convert to phylink") removed fman_set_mac_active_pause()/fman_get_pause_cfg() but not declarations. Commit48257c4f168e("Addfs_enetethernet network driver, for several embedded platforms.") declared but never implementedfs_enet_platform_init()andfs_enet_platform_cleanup().
Quoted 6 lines
Signed-off-by Yue Haibing <[email protected]>--- drivers/net/ethernet/freescale/fman/mac.h | 4 ---- drivers/net/ethernet/freescale/fs_enet/fs_enet.h | 5 ----- 2 files changed, 9 deletions(-)
Thanks,
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 9 lines · On Thu, 17 Aug 2023 21:41:59 +0800 you wrote:
Commit
5d93cfcf7360("net: dpaa: Convert to phylink") removed fman_set_mac_active_pause()/fman_get_pause_cfg() but not declarations. Commit48257c4f168e("Addfs_enetethernet network driver, for several embedded platforms.") declared but never implementedfs_enet_platform_init()andfs_enet_platform_cleanup().Signed-off-by Yue Haibing <[email protected]>[...]
Here is the summary with links:
- [net-next] net: freescale: Remove unused declarations
https://git.kernel.org/netdev/net-next/c/cb49ec034924
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html