diff mbox series

linux/bpf.h: Remove repeated struct declaration

Message ID 20210401072037.995849-1-wanjiabing@vivo.com
State New
Headers show
Series linux/bpf.h: Remove repeated struct declaration | expand

Commit Message

Wan Jiabing April 1, 2021, 7:20 a.m. UTC
struct btf_type is declared twice. One is declared at 35th line.
The blew one is not needed. Remove the duplicate.

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
 include/linux/bpf.h | 1 -
 1 file changed, 1 deletion(-)

Comments

patchwork-bot+netdevbpf@kernel.org April 2, 2021, 11:50 p.m. UTC | #1
Hello:

This patch was applied to bpf/bpf-next.git (refs/heads/master):

On Thu,  1 Apr 2021 15:20:37 +0800 you wrote:
> struct btf_type is declared twice. One is declared at 35th line.
> The blew one is not needed. Remove the duplicate.
> 
> Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
> ---
>  include/linux/bpf.h | 1 -
>  1 file changed, 1 deletion(-)

Here is the summary with links:
  - linux/bpf.h: Remove repeated struct declaration
    https://git.kernel.org/bpf/bpf-next/c/6ac4c6f887f5

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
diff mbox series

Patch

diff --git a/include/linux/bpf.h b/include/linux/bpf.h
index 3625f019767d..2fd8e775a17e 100644
--- a/include/linux/bpf.h
+++ b/include/linux/bpf.h
@@ -903,7 +903,6 @@  struct bpf_link_primer {
 };
 
 struct bpf_struct_ops_value;
-struct btf_type;
 struct btf_member;
 
 #define BPF_STRUCT_OPS_MAX_NR_MEMBERS 64