From: Sean Anderson <sean.anderson@seco.com>
To: Yue Haibing <yuehaibing@huawei.com>,
madalin.bucur@nxp.com, davem@davemloft.net, edumazet@google.com,
kuba@kernel.org, pabeni@redhat.com, pantelis.antoniou@gmail.com,
camelia.groza@nxp.com, christophe.leroy@csgroup.eu
Cc: netdev@vger.kernel.org, linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH net-next] net: freescale: Remove unused declarations
Date: Thu, 17 Aug 2023 12:34:43 -0400 [thread overview]
Message-ID: <c2e136da-fcd3-78e6-ddd4-4f70dba7ff8d@seco.com> (raw)
In-Reply-To: <20230817134159.38484-1-yuehaibing@huawei.com>
On 8/17/23 09:41, Yue Haibing wrote:
> 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@huawei.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 */
>
Reviewed-by: Sean Anderson <sean.anderson@seco.com>
next prev parent reply other threads:[~2023-08-17 16:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-17 13:41 [PATCH net-next] net: freescale: Remove unused declarations Yue Haibing
2023-08-17 16:34 ` Sean Anderson [this message]
2023-08-18 7:03 ` Madalin Bucur
2023-08-18 18:57 ` Leon Romanovsky
2023-08-19 2:50 ` patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c2e136da-fcd3-78e6-ddd4-4f70dba7ff8d@seco.com \
--to=sean.anderson@seco.com \
--cc=camelia.groza@nxp.com \
--cc=christophe.leroy@csgroup.eu \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=madalin.bucur@nxp.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=pantelis.antoniou@gmail.com \
--cc=yuehaibing@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).