tools/bpf/bpftool: Remove duplicate headers
authorJagadeesh Pagadala <jagdsh.linux@gmail.com>
Sun, 19 Apr 2020 05:39:17 +0000 (11:09 +0530)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 26 Apr 2020 15:40:01 +0000 (08:40 -0700)
Code cleanup: Remove duplicate headers which are included twice.

Signed-off-by: Jagadeesh Pagadala <jagdsh.linux@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Reviewed-by: Quentin Monnet <quentin@isovalent.com>
Link: https://lore.kernel.org/bpf/1587274757-14101-1-git-send-email-jagdsh.linux@gmail.com
tools/bpf/bpftool/btf.c
tools/bpf/bpftool/gen.c
tools/bpf/bpftool/jit_disasm.c

index bcaf55b59498293064b46825929059e97d967ad1..41a1346934a170540209d6ee0a1e96a6151f2554 100644 (file)
@@ -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"
index f8113b3646f52b328c1ce409fe4da09384dfdf5d..0e5f0236cc76ea322c4297eaa5496e6068de8fc8 100644 (file)
@@ -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"
index f7f5885aa3ba2bae338bbe23e8ece4ce337812b8..e7e7eee9f172509919aa90d6339d29350ca1598c 100644 (file)
@@ -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>