diff options
author | Jian Shen <shenjian15@huawei.com> | 2022-09-17 04:04:51 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-09-22 03:21:14 +0200 |
commit | 3342a10f5ad3115a7acf8504004f9eb1e6bbb4a8 (patch) | |
tree | 3de8dc0dcaec0dd521b81238348362b17e2d8c3c /drivers | |
parent | net: fjes: Reorder symbols to get rid of a few forward declarations (diff) | |
download | linux-3342a10f5ad3115a7acf8504004f9eb1e6bbb4a8.tar.xz linux-3342a10f5ad3115a7acf8504004f9eb1e6bbb4a8.zip |
net: ethernet: ti: am65-cpsw: remove unused parameter of am65_cpsw_nuss_common_open()
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>
Link: https://lore.kernel.org/r/20220917020451.63417-1-huangguangbin2@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/ti/am65-cpsw-nuss.c | 5 |
1 files 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; |