ramips: mtk_eth_soc: don't allocate 4 queues

This driver does not support more than 1 queue.

Fixes: ba24b94e0b ("ramips: use more devm in mtk_eth_soc")
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2024-09-28 11:47:39 -07:00 committed by Chuanhong Guo
parent 45bd222ea1
commit fb3d681783

View File

@ -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;