diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-07-27 14:35:20 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-08-14 18:04:06 +0300 |
commit | 221af8135478939eaedf1f558aea32e08e05ae65 (patch) | |
tree | 5ca064f377c2d96345d92598c3e4e4c1aa42e735 /drivers/net/wireless/ath/ath9k/ar9002_phy.c | |
parent | wcn36xx: Use sequence number allocated by mac80211 (diff) | |
download | linux-dev-221af8135478939eaedf1f558aea32e08e05ae65.tar.xz linux-dev-221af8135478939eaedf1f558aea32e08e05ae65.zip |
ath9k: Use fallthrough pseudo-keyword
Replace the existing /* fall through */ comments and its variants with
the new pseudo-keyword macro fallthrough[1].
[1] https://www.kernel.org/doc/html/v5.7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200727193520.GA832@embeddedor
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9002_phy.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ar9002_phy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9002_phy.c b/drivers/net/wireless/ath/ath9k/ar9002_phy.c index 6f32b8d2ec7f..fcfed8e59d29 100644 --- a/drivers/net/wireless/ath/ath9k/ar9002_phy.c +++ b/drivers/net/wireless/ath/ath9k/ar9002_phy.c @@ -119,7 +119,7 @@ static int ar9002_hw_set_channel(struct ath_hw *ah, struct ath9k_channel *chan) aModeRefSel = 2; if (aModeRefSel) break; - /* fall through */ + fallthrough; case 1: default: aModeRefSel = 0; |