Skip to content

Commit

Permalink
net: freescale: Remove unused declarations
Browse files Browse the repository at this point in the history
Commit 5d93cfc ("net: dpaa: Convert to phylink") removed
fman_set_mac_active_pause()/fman_get_pause_cfg() but not declarations.
Commit 48257c4 ("Add fs_enet ethernet network driver, for several
embedded platforms.") declared but never implemented
fs_enet_platform_init() and fs_enet_platform_cleanup().

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Sean Anderson <sean.anderson@seco.com>
Acked-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Link: https://lore.kernel.org/r/20230817134159.38484-1-yuehaibing@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  • Loading branch information
Yue Haibing authored and kuba-moo committed Aug 19, 2023
1 parent 726e9e8 commit cb49ec0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions drivers/net/ethernet/freescale/fman/mac.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
5 changes: 0 additions & 5 deletions drivers/net/ethernet/freescale/fs_enet/fs_enet.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down

0 comments on commit cb49ec0

Please sign in to comment.