]> git.baikalelectronics.ru Git - 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)
commitd772038cdbb73cf30cc75bd6466b56b804f9b1ef
treef6f96b5627f30da9f264c3b6e840be260665f140
parent0fd7be1d2df7f6eb53993192dbb787e851caf1f6
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