提交 1b622bd5 编写于 作者: S Stanislaw Gruszka 提交者: Kalle Valo

mt76x0: perform mt76x0_mac_set_ampdu_factor

Remove return added accidentally in mt76x0_mac_set_ampdu_factor.
Reported-by: NDan Carpenter <dan.carpenter@oracle.com>
Fixes: a7744349 ("mt76x0: mac files")
Signed-off-by: NStanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
上级 5dc5bf28
......@@ -424,8 +424,6 @@ void mt76x0_mac_set_ampdu_factor(struct mt76x0_dev *dev)
u8 min_factor = 3;
int i;
return;
rcu_read_lock();
for (i = 0; i < ARRAY_SIZE(dev->wcid); i++) {
wcid = rcu_dereference(dev->wcid[i]);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册