summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mediatek/mt76/mt76x0/init.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2018-09-06 11:18:57 +0200
committerFelix Fietkau <nbd@nbd.name>2018-09-19 12:31:13 +0200
commit6d1bced1495d1431d26854367a0d0d38a87cea9e (patch)
tree42c4f990bf48a31d185736c8534a8efdde117ed2 /drivers/net/wireless/mediatek/mt76/mt76x0/init.c
parentc0eb79ab33b952adaf0633aacea5775ba5d44614 (diff)
mt76x0: remove some usb specific code from mt76x0_register_device
Initial effort to make mt76x0_register_device bus neutral. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x0/init.c')
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt76x0/init.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x0/init.c b/drivers/net/wireless/mediatek/mt76/mt76x0/init.c
index 0e4a13fa42cb..4a899904d518 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76x0/init.c
+++ b/drivers/net/wireless/mediatek/mt76/mt76x0/init.c
@@ -518,14 +518,6 @@ int mt76x0_register_device(struct mt76x0_dev *dev)
struct wiphy *wiphy = hw->wiphy;
int ret;
- ret = mt76u_mcu_init_rx(mdev);
- if (ret < 0)
- return ret;
-
- ret = mt76u_alloc_queues(mdev);
- if (ret < 0)
- return ret;
-
ret = mt76x0_init_hardware(dev);
if (ret)
return ret;