]> git.baikalelectronics.ru Git - kernel.git/commit
bpf, arm64: Remove redundant switch case about BPF_DIV and BPF_MOD
authorTiezhu Yang <yangtiezhu@loongson.cn>
Tue, 18 May 2021 08:56:10 +0000 (16:56 +0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 18 May 2021 14:41:49 +0000 (16:41 +0200)
commita16fe9dd8c38222aef385e8664fe7bca883988ab
tree9bd5ab9f025e34c17fa8b0a3c07e88e00ed2f593
parent3e54ede2776427b8e6257a27f87c5fed182a5a48
bpf, arm64: Remove redundant switch case about BPF_DIV and BPF_MOD

After commit 54f7a3811ea3 ("bpf, arm64: remove obsolete exception handling
from div/mod"), there is no need to check twice about BPF_DIV and BPF_MOD,
remove the redundant switch case.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/1621328170-17583-1-git-send-email-yangtiezhu@loongson.cn
arch/arm64/net/bpf_jit_comp.c