alloc_netdev is a macro for single queue devices, so there's no need to call alloc_netdev_mqs with a single tx/rx queue.
Unified · Split
| @@ -452,8 +452,8 @@ int qtnf_core_net_attach(struct qtnf_wmac *mac, struct qtnf_vif *vif, · 451 unmodified lines | ||
| 452 | 452 | void *qdev_vif; |
| 453 | 453 | int ret; |
| 454 | 454 | |
| 455 | − dev = alloc_netdev_mqs(sizeof(struct qtnf_vif *), name, | |
| 456 | − name_assign_type, ether_setup, 1, 1); | |
| 455 | + dev = alloc_netdev(sizeof(struct qtnf_vif *), name, | |
| 456 | + name_assign_type, ether_setup); | |
| 457 | 457 | if (!dev) |
| 458 | 458 | return -ENOMEM; |
| 459 | 459 | |