diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2020-08-22 10:23:23 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2020-08-27 11:24:28 +0200 |
commit | 7b506ff6f6903518af65fc35ae2fcd8305d8ff2b (patch) | |
tree | b90a03029fed8c5ff12f6c1f7537fc8624b668cb /net/wireless/mlme.c | |
parent | net: wireless: wext_compat.c: delete duplicated word (diff) | |
download | linux-7b506ff6f6903518af65fc35ae2fcd8305d8ff2b.tar.xz linux-7b506ff6f6903518af65fc35ae2fcd8305d8ff2b.zip |
net: wireless: Convert to use the preferred fallthrough macro
Convert the uses of fallthrough comments to fallthrough macro.
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Link: https://lore.kernel.org/r/20200822082323.45495-1-linmiaohe@huawei.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/mlme.c')
-rw-r--r-- | net/wireless/mlme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/mlme.c b/net/wireless/mlme.c index a6c61a2e6569..db7333e20dd7 100644 --- a/net/wireless/mlme.c +++ b/net/wireless/mlme.c @@ -941,7 +941,7 @@ void cfg80211_cac_event(struct net_device *netdev, sizeof(struct cfg80211_chan_def)); queue_work(cfg80211_wq, &rdev->propagate_cac_done_wk); cfg80211_sched_dfs_chan_update(rdev); - /* fall through */ + fallthrough; case NL80211_RADAR_CAC_ABORTED: wdev->cac_started = false; break; |