[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1567568784-9669-4-git-send-email-zhongjiang@huawei.com>
Date: Wed, 4 Sep 2019 11:46:24 +0800
From: zhong jiang <zhongjiang@...wei.com>
To: <davem@...emloft.net>, <kvalo@...eaurora.org>, <pkshih@...ltek.com>
CC: <zhongjiang@...wei.com>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH 3/3] ath10k: Drop unnecessary continue in ath10k_mac_update_vif_chan
Continue is not needed at the bottom of a loop. Hence just remove it.
Signed-off-by: zhong jiang <zhongjiang@...wei.com>
---
drivers/net/wireless/ath/ath10k/mac.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c
index 12dad65..91e4635 100644
--- a/drivers/net/wireless/ath/ath10k/mac.c
+++ b/drivers/net/wireless/ath/ath10k/mac.c
@@ -7804,11 +7804,9 @@ static int ath10k_ampdu_action(struct ieee80211_hw *hw,
continue;
ret = ath10k_wmi_vdev_down(ar, arvif->vdev_id);
- if (ret) {
+ if (ret)
ath10k_warn(ar, "failed to down vdev %d: %d\n",
arvif->vdev_id, ret);
- continue;
- }
}
/* All relevant vdevs are downed and associated channel resources
--
1.7.12.4
Powered by blists - more mailing lists