net/sched: Use fallthrough pseudo-keyword
authorGustavo A. R. Silva <gustavoars@kernel.org>
Tue, 7 Jul 2020 17:21:38 +0000 (12:21 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Jul 2020 22:47:46 +0000 (15:47 -0700)
commit964201de695b8afca80652f048a95dc2cb68fcb7
tree6017e5b08ea2c376a05e060c516be2ff36f7cad7
parent535094a0c9c4908a31f3158a647e203ceeecf277
net/sched: 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/latest/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through

Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
14 files changed:
net/sched/act_csum.c
net/sched/act_ct.c
net/sched/sch_cbq.c
net/sched/sch_drr.c
net/sched/sch_ets.c
net/sched/sch_fq_codel.c
net/sched/sch_fq_pie.c
net/sched/sch_hfsc.c
net/sched/sch_htb.c
net/sched/sch_multiq.c
net/sched/sch_prio.c
net/sched/sch_qfq.c
net/sched/sch_sfb.c
net/sched/sch_sfq.c