summaryrefslogtreecommitdiffstats
path: root/samples/bpf/hbm.c
diff options
context:
space:
mode:
authorMenglong Dong <dong.menglong@zte.com.cn>2020-11-06 10:13:54 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2020-11-10 00:01:31 +0100
commita10b4f9610431cf0d136530c12e48cba7c6391a4 (patch)
treebc49bce1be037b75e8406e72b6943f7992497888 /samples/bpf/hbm.c
parentselftests/bpf: Fix selftest build with old libc (diff)
downloadlinux-a10b4f9610431cf0d136530c12e48cba7c6391a4.tar.xz
linux-a10b4f9610431cf0d136530c12e48cba7c6391a4.zip
samples/bpf: Remove duplicate include in hbm
The 'bpf/bpf.h' include in 'samples/bpf/hbm.c' is duplicated. Signed-off-by: Menglong Dong <dong.menglong@zte.com.cn> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: John Fastabend <john.fastabend@gmail.com> Link: https://lore.kernel.org/bpf/1604654034-52821-1-git-send-email-dong.menglong@zte.com.cn
Diffstat (limited to 'samples/bpf/hbm.c')
-rw-r--r--samples/bpf/hbm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/samples/bpf/hbm.c b/samples/bpf/hbm.c
index ff4c533dfac2..400e741a56eb 100644
--- a/samples/bpf/hbm.c
+++ b/samples/bpf/hbm.c
@@ -51,7 +51,6 @@
#include "cgroup_helpers.h"
#include "hbm.h"
#include "bpf_util.h"
-#include <bpf/bpf.h>
#include <bpf/libbpf.h>
bool outFlag = true;