Continue is not needed at the bottom of a loop. Hence just remove it. Signed-off-by: zhong jiang <zhongji...@huawei.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