]> 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)
commit31d8261145ae8bc3b176f605d92cbe928030e515
tree9bd5ab9f025e34c17fa8b0a3c07e88e00ed2f593
parent03c28273d10882f756bcf621a98ec1a5aa36fc70
bpf, arm64: Remove redundant switch case about BPF_DIV and BPF_MOD

After commit 3306e42789cf ("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