]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
mt7601u: Use fallthrough pseudo-keyword
authorGustavo A. R. Silva <gustavoars@kernel.org>
Tue, 1 Sep 2020 17:36:03 +0000 (12:36 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 7 Sep 2020 08:29:06 +0000 (11:29 +0300)
commit1808191dca82e69669a3adff273fe2343d1db46c
treef6f96b5627f30da9f264c3b6e840be260665f140
parent6a953dc4dbd1c7057fb765a24f37a5e953c85fb0
mt7601u: Use fallthrough pseudo-keyword

Replace the existing /* fall through */ comments and its variants with
the new pseudo-keyword macro fallthrough[1]. Also, remove unnecessary
fall-through markings when it is the case.

[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/20200901173603.GA2701@embeddedor
drivers/net/wireless/mediatek/mt7601u/dma.c
drivers/net/wireless/mediatek/mt7601u/mac.c
drivers/net/wireless/mediatek/mt7601u/phy.c