From: zhong jiang <zhongjiang@huawei.com>
To: <davem@davemloft.net>, <kvalo@codeaurora.org>, <pkshih@realtek.com>
Cc: <zhongjiang@huawei.com>, <netdev@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Subject: [PATCH 3/3] ath10k: Drop unnecessary continue in ath10k_mac_update_vif_chan
Date: Wed, 4 Sep 2019 11:46:24 +0800 [thread overview]
Message-ID: <1567568784-9669-4-git-send-email-zhongjiang@huawei.com> (raw)
In-Reply-To: <1567568784-9669-1-git-send-email-zhongjiang@huawei.com>
Continue is not needed at the bottom of a loop. Hence just remove it.
Signed-off-by: zhong jiang <zhongjiang@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
prev parent reply other threads:[~2019-09-04 3:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-04 3:46 [PATCH 0/3] net: remove an redundant continue zhong jiang
2019-09-04 3:46 ` [PATCH 1/3] rtlwifi: Remove an unnecessary continue in _rtl8723be_phy_config_bb_with_pgheaderfile zhong jiang
2019-09-04 3:46 ` [PATCH 2/3] nfp: Drop unnecessary continue in nfp_net_pf_alloc_vnics zhong jiang
2019-09-06 12:58 ` David Miller
2019-09-17 2:45 ` Jakub Kicinski
2019-09-17 3:07 ` zhong jiang
2019-09-04 3:46 ` zhong jiang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1567568784-9669-4-git-send-email-zhongjiang@huawei.com \
--to=zhongjiang@huawei.com \
--cc=davem@davemloft.net \
--cc=kvalo@codeaurora.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pkshih@realtek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).