All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 net-next] net: ethernet: ti: am65-cpsw: remove unused parameter of am65_cpsw_nuss_common_open()
@ 2022-09-17  2:04 Guangbin Huang
  2022-09-22  1:30 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Guangbin Huang @ 2022-09-17  2:04 UTC (permalink / raw)
  To: davem, kuba
  Cc: netdev, linux-kernel, huangguangbin2, lipeng321, lanhao,
	shenjian15, s-vadapalli

From: Jian Shen <shenjian15@huawei.com>

The inptu parameter 'features' is unused now. so remove it.

Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
---
 drivers/net/ethernet/ti/am65-cpsw-nuss.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/net/ethernet/ti/am65-cpsw-nuss.c b/drivers/net/ethernet/ti/am65-cpsw-nuss.c
index 7ef5d8208a4e..4f8f3dda7764 100644
--- a/drivers/net/ethernet/ti/am65-cpsw-nuss.c
+++ b/drivers/net/ethernet/ti/am65-cpsw-nuss.c
@@ -363,8 +363,7 @@ static void am65_cpsw_init_host_port_emac(struct am65_cpsw_common *common);
 static void am65_cpsw_init_port_switch_ale(struct am65_cpsw_port *port);
 static void am65_cpsw_init_port_emac_ale(struct am65_cpsw_port *port);
 
-static int am65_cpsw_nuss_common_open(struct am65_cpsw_common *common,
-				      netdev_features_t features)
+static int am65_cpsw_nuss_common_open(struct am65_cpsw_common *common)
 {
 	struct am65_cpsw_host *host_p = am65_common_get_host(common);
 	int port_idx, i, ret;
@@ -577,7 +576,7 @@ static int am65_cpsw_nuss_ndo_slave_open(struct net_device *ndev)
 	for (i = 0; i < common->tx_ch_num; i++)
 		netdev_tx_reset_queue(netdev_get_tx_queue(ndev, i));
 
-	ret = am65_cpsw_nuss_common_open(common, ndev->features);
+	ret = am65_cpsw_nuss_common_open(common);
 	if (ret)
 		return ret;
 
-- 
2.33.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH V2 net-next] net: ethernet: ti: am65-cpsw: remove unused parameter of am65_cpsw_nuss_common_open()
  2022-09-17  2:04 [PATCH V2 net-next] net: ethernet: ti: am65-cpsw: remove unused parameter of am65_cpsw_nuss_common_open() Guangbin Huang
@ 2022-09-22  1:30 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-09-22  1:30 UTC (permalink / raw)
  To: huangguangbin
  Cc: davem, kuba, netdev, linux-kernel, lipeng321, lanhao, shenjian15,
	s-vadapalli

Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Sat, 17 Sep 2022 10:04:51 +0800 you wrote:
> From: Jian Shen <shenjian15@huawei.com>
> 
> The inptu parameter 'features' is unused now. so remove it.
> 
> Signed-off-by: Jian Shen <shenjian15@huawei.com>
> Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
> 
> [...]

Here is the summary with links:
  - [V2,net-next] net: ethernet: ti: am65-cpsw: remove unused parameter of am65_cpsw_nuss_common_open()
    https://git.kernel.org/netdev/net-next/c/3342a10f5ad3

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-22  1:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-17  2:04 [PATCH V2 net-next] net: ethernet: ti: am65-cpsw: remove unused parameter of am65_cpsw_nuss_common_open() Guangbin Huang
2022-09-22  1:30 ` patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.