Message ID | 20200908132201.184005-1-chenzhou10@huawei.com |
---|---|
State | Accepted |
Delegated to: | BPF Maintainers |
Headers | show |
Series | [-next] bpf: Remove duplicate headers | expand |
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 >
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 --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);
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(-)