bpf: Remove insn_buf[] declaration in inner block
authorJianlin Lv <Jianlin.Lv@arm.com>
Thu, 18 Mar 2021 02:48:51 +0000 (10:48 +0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 19 Mar 2021 22:06:53 +0000 (23:06 +0100)
commit9ef05281e5d01dffdf75a4ae5c1aee7cbd7aaa73
tree3051be4972359357732f8b6b167e68d4484c237a
parentea24b19562fe5f72c78319dbb347b701818956d9
bpf: Remove insn_buf[] declaration in inner block

Two insn_buf[16] variables are declared in the function which acts on
function scope and block scope respectively. The statement in the inner
block is redundant, so remove it.

Signed-off-by: Jianlin Lv <Jianlin.Lv@arm.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20210318024851.49693-1-Jianlin.Lv@arm.com
kernel/bpf/verifier.c