From fb3d681783409a05587f1f5176e54abfcf2343a1 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 28 Sep 2024 11:47:39 -0700 Subject: [PATCH] ramips: mtk_eth_soc: don't allocate 4 queues This driver does not support more than 1 queue. Fixes: ba24b94e0b8 ("ramips: use more devm in mtk_eth_soc") Signed-off-by: Rosen Penev --- .../ramips/files/drivers/net/ethernet/ralink/mtk_eth_soc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ramips/files/drivers/net/ethernet/ralink/mtk_eth_soc.c b/target/linux/ramips/files/drivers/net/ethernet/ralink/mtk_eth_soc.c index 893198d826..d8d27fda3b 100644 --- a/target/linux/ramips/files/drivers/net/ethernet/ralink/mtk_eth_soc.c +++ b/target/linux/ramips/files/drivers/net/ethernet/ralink/mtk_eth_soc.c @@ -1545,7 +1545,7 @@ static int fe_probe(struct platform_device *pdev) if (IS_ERR(fe_base)) return PTR_ERR(fe_base); - netdev = devm_alloc_etherdev_mqs(&pdev->dev, sizeof(*priv), 4, 4); + netdev = devm_alloc_etherdev(&pdev->dev, sizeof(*priv)); if (!netdev) { dev_err(&pdev->dev, "alloc_etherdev failed\n"); return -ENOMEM; -- 2.30.2