]> git.baikalelectronics.ru Git - kernel.git/commit
bpf, cgroup: Delete repeated struct bpf_prog declaration
authorWan Jiabing <wanjiabing@vivo.com>
Thu, 1 Apr 2021 06:46:37 +0000 (14:46 +0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 2 Apr 2021 23:43:49 +0000 (01:43 +0200)
commitf9bae01f22172ad484e5ca990e5c9743093f6c5a
tree5bcfb486dbc3f0a463138c2d2e235fdabdb74a6b
parent54db0376e846986c0e924b2d7345550f84c1ed2c
bpf, cgroup: Delete repeated struct bpf_prog declaration

struct bpf_prog is declared twice. There is one declaration which is
independent on the macro at 18th line. So the below one is not needed
though. Remove the duplicate.

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20210401064637.993327-1-wanjiabing@vivo.com
include/linux/bpf-cgroup.h