Skip to content

Commit

Permalink
samples/bpf: remove duplicated includes
Browse files Browse the repository at this point in the history
Remove duplicated includes.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
  • Loading branch information
YueHaibing authored and Daniel Borkmann committed Sep 18, 2018
1 parent 7900efc commit 664e787
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion samples/bpf/bpf_load.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
#include <linux/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/syscall.h>
#include <sys/ioctl.h>
Expand Down
1 change: 0 additions & 1 deletion samples/bpf/sampleip_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
*/
#include <stdio.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <errno.h>
#include <signal.h>
Expand Down
1 change: 0 additions & 1 deletion samples/bpf/test_current_task_under_cgroup_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include <unistd.h>
#include <bpf/bpf.h>
#include "bpf_load.h"
#include <linux/bpf.h>
#include "cgroup_helpers.h"

#define CGROUP_PATH "/my-cgroup"
Expand Down

0 comments on commit 664e787

Please sign in to comment.