mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-18 21:28:02 +00:00
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:
parent
45bd222ea1
commit
fb3d681783
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user