[PATCH 3/3] ath10k: Drop unnecessary continue in ath10k_mac_update_vif_chan

From: zhong jiang
Date: Tue Sep 03 2019 - 23:49:39 EST


Continue is not needed at the bottom of a loop. Hence just remove it.

Signed-off-by: zhong jiang <zhongjiang@xxxxxxxxxx>
---
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