[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
<AM0PR04MB616349EADE70E7130954AEFAEC1BA@AM0PR04MB6163.eurprd04.prod.outlook.com>
Date: Fri, 18 Aug 2023 07:03:00 +0000
From: Madalin Bucur <madalin.bucur@....com>
To: Yue Haibing <yuehaibing@...wei.com>, Sean Anderson
<sean.anderson@...o.com>, "davem@...emloft.net" <davem@...emloft.net>,
"edumazet@...gle.com" <edumazet@...gle.com>, "kuba@...nel.org"
<kuba@...nel.org>, "pabeni@...hat.com" <pabeni@...hat.com>,
"pantelis.antoniou@...il.com" <pantelis.antoniou@...il.com>, Camelia
Alexandra Groza <camelia.groza@....com>, "christophe.leroy@...roup.eu"
<christophe.leroy@...roup.eu>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linuxppc-dev@...ts.ozlabs.org" <linuxppc-dev@...ts.ozlabs.org>
Subject: RE: [PATCH net-next] net: freescale: Remove unused declarations
> -----Original Message-----
> From: Yue Haibing <yuehaibing@...wei.com>
> Sent: 17 August 2023 16:42
> To: Madalin Bucur <madalin.bucur@....com>; Sean Anderson
> <sean.anderson@...o.com>; davem@...emloft.net; edumazet@...gle.com;
> kuba@...nel.org; pabeni@...hat.com; pantelis.antoniou@...il.com; Camelia
> Alexandra Groza <camelia.groza@....com>; christophe.leroy@...roup.eu;
> yuehaibing@...wei.com
> Cc: netdev@...r.kernel.org; linuxppc-dev@...ts.ozlabs.org
> Subject: [PATCH net-next] 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().
>
> Signed-off-by: Yue Haibing <yuehaibing@...wei.com>
> ---
> drivers/net/ethernet/freescale/fman/mac.h | 4 ----
> drivers/net/ethernet/freescale/fs_enet/fs_enet.h | 5 -----
> 2 files changed, 9 deletions(-)
>
> diff --git a/drivers/net/ethernet/freescale/fman/mac.h
> b/drivers/net/ethernet/freescale/fman/mac.h
> index ad06f8d7924b..fe747915cc73 100644
> --- a/drivers/net/ethernet/freescale/fman/mac.h
> +++ b/drivers/net/ethernet/freescale/fman/mac.h
> @@ -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 */
> diff --git a/drivers/net/ethernet/freescale/fs_enet/fs_enet.h
> b/drivers/net/ethernet/freescale/fs_enet/fs_enet.h
> index d371072fff60..759bb7080e22 100644
> --- a/drivers/net/ethernet/freescale/fs_enet/fs_enet.h
> +++ b/drivers/net/ethernet/freescale/fs_enet/fs_enet.h
> @@ -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 */
>
> --
> 2.34.1
Acked-by: Madalin Bucur <madalin.bucur@....nxp.com>
Powered by blists - more mailing lists