tools/bpf/bpftool: Remove duplicate headers
Subsystems (4)
PATCH 1/1 tools/bpf/bpftool: Remove duplicate headers
From: Jagadeesh Pagadala <[email protected]>
Code cleanup: Remove duplicate headers which are included twice.
Signed-off-by Jagadeesh Pagadala <[email protected]>
--- tools/bpf/bpftool/btf.c | 1 - tools/bpf/bpftool/gen.c | 1 - tools/bpf/bpftool/jit_disasm.c | 1 - 3 files changed, 3 deletions(-)
tools/bpf/bpftool/btf.c +0 -1
@@ -15,7 +15,6 @@#include <linux/hashtable.h> #include <sys/types.h> #include <sys/stat.h> -#include <unistd.h> #include "json_writer.h" #include "main.h"
tools/bpf/bpftool/gen.c +0 -1
@@ -17,7 +17,6 @@#include <sys/types.h> #include <sys/stat.h> #include <sys/mman.h> -#include <unistd.h> #include <bpf/btf.h> #include "bpf/libbpf_internal.h"
tools/bpf/bpftool/jit_disasm.c +0 -1
@@ -15,7 +15,6 @@#include <stdio.h> #include <stdarg.h> #include <stdint.h> -#include <stdio.h> #include <stdlib.h> #include <assert.h> #include <unistd.h>
Signature · 1 line
1.8.3.1
2020-04-19 11:09 UTC+0530 ~ [email protected]
Quoted 5 lines
From: Jagadeesh Pagadala <[email protected]>
Code cleanup: Remove duplicate headers which are included twice.
Signed-off-by Jagadeesh Pagadala <[email protected]>
Reviewed-by Quentin Monnet <[email protected]>
Thank you!
Alexei Starovoitov
AppliedQuoted 6 lines · On Sat, Apr 18, 2020 at 10:40 PM <[email protected]> wrote:
From: Jagadeesh Pagadala <[email protected]>
Code cleanup: Remove duplicate headers which are included twice.
Signed-off-by Jagadeesh Pagadala <[email protected]>
Applied. Thanks