Message ID | 20210920122957.11264-1-liumh1@shanghaitech.edu.cn (mailing list archive) |
---|---|
State | Accepted |
Commit | bea714581a317803a0dfc9f975cb9fc2f2cada86 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [-next] net/ipv4/udp_tunnel_core.c: remove superfluous header files from udp_tunnel_core.c | expand |
Context | Check | Description |
---|---|---|
netdev/cover_letter | success | Link |
netdev/fixes_present | success | Link |
netdev/patch_count | success | Link |
netdev/tree_selection | success | Guessed tree name to be net-next |
netdev/subject_prefix | warning | Target tree name not specified in the subject |
netdev/cc_maintainers | success | CCed 5 of 5 maintainers |
netdev/source_inline | success | Was 0 now: 0 |
netdev/verify_signedoff | success | Link |
netdev/module_param | success | Was 0 now: 0 |
netdev/build_32bit | success | Errors and warnings before: 0 this patch: 0 |
netdev/kdoc | success | Errors and warnings before: 0 this patch: 0 |
netdev/verify_fixes | success | Link |
netdev/checkpatch | success | total: 0 errors, 0 warnings, 0 checks, 11 lines checked |
netdev/build_allmodconfig_warn | success | Errors and warnings before: 0 this patch: 0 |
netdev/header_inline | success | Link |
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Mon, 20 Sep 2021 20:29:57 +0800 you wrote: > udp_tunnel_core.c hasn't use any macro or function declared in udp.h, types.h, > and net_namespace.h. Thus, these files can be removed from udp_tunnel_core.c > safely without affecting the compilation of the net module. > > Signed-off-by: Mianhan Liu <liumh1@shanghaitech.edu.cn> > > > [...] Here is the summary with links: - [-next] net/ipv4/udp_tunnel_core.c: remove superfluous header files from udp_tunnel_core.c https://git.kernel.org/netdev/net-next/c/bea714581a31 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
diff --git a/net/ipv4/udp_tunnel_core.c b/net/ipv4/udp_tunnel_core.c index b97e3635a..8efaf8c3f 100644 --- a/net/ipv4/udp_tunnel_core.c +++ b/net/ipv4/udp_tunnel_core.c @@ -2,11 +2,8 @@ #include <linux/module.h> #include <linux/errno.h> #include <linux/socket.h> -#include <linux/udp.h> -#include <linux/types.h> #include <linux/kernel.h> #include <net/dst_metadata.h> -#include <net/net_namespace.h> #include <net/udp.h> #include <net/udp_tunnel.h>
udp_tunnel_core.c hasn't use any macro or function declared in udp.h, types.h, and net_namespace.h. Thus, these files can be removed from udp_tunnel_core.c safely without affecting the compilation of the net module. Signed-off-by: Mianhan Liu <liumh1@shanghaitech.edu.cn> --- net/ipv4/udp_tunnel_core.c | 3 --- 1 file changed, 3 deletions(-)