diff mbox series

[-next] bpf: Remove duplicate headers

Message ID 20200908132201.184005-1-chenzhou10@huawei.com
State Accepted
Delegated to: BPF Maintainers
Headers show
Series [-next] bpf: Remove duplicate headers | expand

Commit Message

chenzhou Sept. 8, 2020, 1:22 p.m. UTC
Remove duplicate headers which are included twice.

Signed-off-by: Chen Zhou <chenzhou10@huawei.com>
---
 net/core/bpf_sk_storage.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Andrii Nakryiko Sept. 8, 2020, 11:04 p.m. UTC | #1
On Tue, Sep 8, 2020 at 1:07 PM Chen Zhou <chenzhou10@huawei.com> wrote:
>
> Remove duplicate headers which are included twice.
>
> Signed-off-by: Chen Zhou <chenzhou10@huawei.com>
> ---

Acked-by: Andrii Nakryiko <andriin@fb.com>

>  net/core/bpf_sk_storage.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/net/core/bpf_sk_storage.c b/net/core/bpf_sk_storage.c
> index a0d1a3265b71..4a86ea34f29e 100644
> --- a/net/core/bpf_sk_storage.c
> +++ b/net/core/bpf_sk_storage.c
> @@ -12,7 +12,6 @@
>  #include <net/sock.h>
>  #include <uapi/linux/sock_diag.h>
>  #include <uapi/linux/btf.h>
> -#include <linux/btf_ids.h>
>
>  DEFINE_BPF_STORAGE_CACHE(sk_cache);
>
> --
> 2.17.1
>
Alexei Starovoitov Sept. 10, 2020, 5:54 p.m. UTC | #2
On Tue, Sep 8, 2020 at 4:05 PM Andrii Nakryiko
<andrii.nakryiko@gmail.com> wrote:
>
> On Tue, Sep 8, 2020 at 1:07 PM Chen Zhou <chenzhou10@huawei.com> wrote:
> >
> > Remove duplicate headers which are included twice.
> >
> > Signed-off-by: Chen Zhou <chenzhou10@huawei.com>
> > ---
>
> Acked-by: Andrii Nakryiko <andriin@fb.com>

Applied. Thanks
diff mbox series

Patch

diff --git a/net/core/bpf_sk_storage.c b/net/core/bpf_sk_storage.c
index a0d1a3265b71..4a86ea34f29e 100644
--- a/net/core/bpf_sk_storage.c
+++ b/net/core/bpf_sk_storage.c
@@ -12,7 +12,6 @@ 
 #include <net/sock.h>
 #include <uapi/linux/sock_diag.h>
 #include <uapi/linux/btf.h>
-#include <linux/btf_ids.h>
 
 DEFINE_BPF_STORAGE_CACHE(sk_cache);