* [PATCH] samples/bpf: remove duplicate include
@ 2020-11-06 9:13 menglong8.dong
2020-11-09 6:50 ` John Fastabend
0 siblings, 1 reply; 2+ messages in thread
From: menglong8.dong @ 2020-11-06 9:13 UTC (permalink / raw)
To: daniel
Cc: ast, kafai, songliubraving, yhs, andrii, john.fastabend, kpsingh,
netdev, bpf, linux-kernel, Menglong Dong
From: Menglong Dong <dong.menglong@zte.com.cn>
Obviously, 'bpf/bpf.h' in 'samples/bpf/hbm.c' is duplicated.
Signed-off-by: Menglong Dong <dong.menglong@zte.com.cn>
---
samples/bpf/hbm.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/samples/bpf/hbm.c b/samples/bpf/hbm.c
index ff4c533..400e741 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;
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: [PATCH] samples/bpf: remove duplicate include
2020-11-06 9:13 [PATCH] samples/bpf: remove duplicate include menglong8.dong
@ 2020-11-09 6:50 ` John Fastabend
0 siblings, 0 replies; 2+ messages in thread
From: John Fastabend @ 2020-11-09 6:50 UTC (permalink / raw)
To: menglong8.dong, daniel
Cc: ast, kafai, songliubraving, yhs, andrii, john.fastabend, kpsingh,
netdev, bpf, linux-kernel, Menglong Dong
menglong8.dong@ wrote:
> From: Menglong Dong <dong.menglong@zte.com.cn>
>
> Obviously, 'bpf/bpf.h' in 'samples/bpf/hbm.c' is duplicated.
>
> Signed-off-by: Menglong Dong <dong.menglong@zte.com.cn>
> ---
Acked-by: John Fastabend <john.fastabend@gmail.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-11-09 6:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-06 9:13 [PATCH] samples/bpf: remove duplicate include menglong8.dong
2020-11-09 6:50 ` John Fastabend
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).