OSDN Git Service

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)
commit2daae89666ad253281bb3d6a027c00a702c02eff
tree5bcfb486dbc3f0a463138c2d2e235fdabdb74a6b
parent2ec9898e9c70b93a5741af3f6af6dbceca569a47
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