diff mbox series

[net-next] udp: Remove duplicate included header file trace/events/udp.h

Message ID 20240706071132.274352-2-thorsten.blum@toblux.com (mailing list archive)
State Accepted
Commit 0787ab206f802deb7edbae32ba021d6b1101472a
Delegated to: Netdev Maintainers
Headers show
Series [net-next] udp: Remove duplicate included header file trace/events/udp.h | expand

Checks

Context Check Description
netdev/series_format success Single patches do not need cover letters
netdev/tree_selection success Clearly marked for net-next
netdev/ynl success Generated files up to date; no warnings/errors; no diff in generated;
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 816 this patch: 816
netdev/build_tools success No tools touched, skip
netdev/cc_maintainers warning 1 maintainers not CCed: willemdebruijn.kernel@gmail.com
netdev/build_clang success Errors and warnings before: 821 this patch: 821
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 821 this patch: 821
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 7 lines checked
netdev/build_clang_rust success No Rust files in patch. Skipping build
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0
netdev/contest success net-next-2024-07-08--15-00 (tests: 694)

Commit Message

Thorsten Blum July 6, 2024, 7:11 a.m. UTC
Remove duplicate included header file trace/events/udp.h and the
following warning reported by make includecheck:

  trace/events/udp.h is included more than once

Compile-tested only.

Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
---
 net/ipv6/udp.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Simon Horman July 6, 2024, 12:13 p.m. UTC | #1
On Sat, Jul 06, 2024 at 09:11:33AM +0200, Thorsten Blum wrote:
> Remove duplicate included header file trace/events/udp.h and the
> following warning reported by make includecheck:
> 
>   trace/events/udp.h is included more than once
> 
> Compile-tested only.
> 
> Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>

Thanks, I see that trace/events/udp.h is also included on line 36.

Reviewed-by: Simon Horman <horms@kernel.org>

> ---
>  net/ipv6/udp.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c
> index c81a07ac0463..bfd7fff1bc0c 100644
> --- a/net/ipv6/udp.c
> +++ b/net/ipv6/udp.c
> @@ -46,7 +46,6 @@
>  #include <net/tcp_states.h>
>  #include <net/ip6_checksum.h>
>  #include <net/ip6_tunnel.h>
> -#include <trace/events/udp.h>
>  #include <net/xfrm.h>
>  #include <net/inet_hashtables.h>
>  #include <net/inet6_hashtables.h>
> -- 
> 2.45.2
> 
>
patchwork-bot+netdevbpf@kernel.org July 9, 2024, 11:40 a.m. UTC | #2
Hello:

This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Sat,  6 Jul 2024 09:11:33 +0200 you wrote:
> Remove duplicate included header file trace/events/udp.h and the
> following warning reported by make includecheck:
> 
>   trace/events/udp.h is included more than once
> 
> Compile-tested only.
> 
> [...]

Here is the summary with links:
  - [net-next] udp: Remove duplicate included header file trace/events/udp.h
    https://git.kernel.org/netdev/net-next/c/0787ab206f80

You are awesome, thank you!
diff mbox series

Patch

diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c
index c81a07ac0463..bfd7fff1bc0c 100644
--- a/net/ipv6/udp.c
+++ b/net/ipv6/udp.c
@@ -46,7 +46,6 @@ 
 #include <net/tcp_states.h>
 #include <net/ip6_checksum.h>
 #include <net/ip6_tunnel.h>
-#include <trace/events/udp.h>
 #include <net/xfrm.h>
 #include <net/inet_hashtables.h>
 #include <net/inet6_hashtables.h>