diff mbox series

[net-next] l2tp: Remove duplicate included header file trace.h

Message ID 20240703061147.691973-2-thorsten.blum@toblux.com (mailing list archive)
State Accepted
Commit 47c130130de2fd68d9e4f591b0ea25975bdad68a
Delegated to: Netdev Maintainers
Headers show
Series [net-next] l2tp: Remove duplicate included header file trace.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: 839 this patch: 839
netdev/build_tools success No tools touched, skip
netdev/cc_maintainers warning 1 maintainers not CCed: jchapman@katalix.com
netdev/build_clang success Errors and warnings before: 846 this patch: 846
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: 846 this patch: 846
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-03--12-00 (tests: 666)

Commit Message

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

  trace.h is included more than once

Compile-tested only.

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

Comments

Michal Kubiak July 3, 2024, 1:50 p.m. UTC | #1
On Wed, Jul 03, 2024 at 08:11:48AM +0200, Thorsten Blum wrote:
> Remove duplicate included header file trace.h and the following warning
> reported by make includecheck:
> 
>   trace.h is included more than once
> 
> Compile-tested only.
> 
> Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
> ---
>  net/l2tp/l2tp_core.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/net/l2tp/l2tp_core.c b/net/l2tp/l2tp_core.c
> index 88a34db265d8..e45e38be1e7c 100644
> --- a/net/l2tp/l2tp_core.c
> +++ b/net/l2tp/l2tp_core.c
> @@ -61,7 +61,6 @@
>  #include <linux/atomic.h>
>  
>  #include "l2tp_core.h"
> -#include "trace.h"
>  
>  #define CREATE_TRACE_POINTS
>  #include "trace.h"
> -- 
> 2.45.2
> 
> 

Reviewed-by: Michal Kubiak <michal.kubiak@intel.com>
patchwork-bot+netdevbpf@kernel.org July 4, 2024, 11 a.m. UTC | #2
Hello:

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

On Wed,  3 Jul 2024 08:11:48 +0200 you wrote:
> Remove duplicate included header file trace.h and the following warning
> reported by make includecheck:
> 
>   trace.h is included more than once
> 
> Compile-tested only.
> 
> [...]

Here is the summary with links:
  - [net-next] l2tp: Remove duplicate included header file trace.h
    https://git.kernel.org/netdev/net-next/c/47c130130de2

You are awesome, thank you!
diff mbox series

Patch

diff --git a/net/l2tp/l2tp_core.c b/net/l2tp/l2tp_core.c
index 88a34db265d8..e45e38be1e7c 100644
--- a/net/l2tp/l2tp_core.c
+++ b/net/l2tp/l2tp_core.c
@@ -61,7 +61,6 @@ 
 #include <linux/atomic.h>
 
 #include "l2tp_core.h"
-#include "trace.h"
 
 #define CREATE_TRACE_POINTS
 #include "trace.h"