diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2023-05-15 17:17:18 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2023-05-16 19:44:05 +0200 |
commit | a820ca1a739b7e3ee0ddb48bdfa3c09dc7cd4302 (patch) | |
tree | 8c929ef3fc9e19eedaa248c28d3b1e2cbc1d3552 /kernel | |
parent | e1505c1cc8d527fcc5bcaf9c1ad82eed817e3e10 (diff) | |
download | linux-stable-a820ca1a739b7e3ee0ddb48bdfa3c09dc7cd4302.tar.gz linux-stable-a820ca1a739b7e3ee0ddb48bdfa3c09dc7cd4302.tar.bz2 linux-stable-a820ca1a739b7e3ee0ddb48bdfa3c09dc7cd4302.zip |
samples/bpf: Drop unnecessary fallthrough
__fallthrough is now not supported. Instead of renaming it to
now-canonical ([0]) fallthrough pseudo-keyword, just get rid of it and
equate 'h' case to default case, as both emit usage information and
succeed.
[0] https://www.kernel.org/doc/html/latest/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20230516001718.317177-1-andrii@kernel.org
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions