diff mbox series

[-next,-v2] net/ipv4/datagram.c: remove superfluous header files from datagram.c

Message ID 20210929053109.23979-1-liumh1@shanghaitech.edu.cn (mailing list archive)
State Accepted
Commit 6a832a6c72b9365299406f13c799b63dafe03677
Delegated to: Netdev Maintainers
Headers show
Series [-next,-v2] net/ipv4/datagram.c: remove superfluous header files from datagram.c | expand

Checks

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: 1 this patch: 1
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, 7 lines checked
netdev/build_allmodconfig_warn success Errors and warnings before: 1 this patch: 1
netdev/header_inline success Link

Commit Message

Mianhan Liu Sept. 29, 2021, 5:31 a.m. UTC
datagram.c hasn't use any macro or function declared in linux/ip.h.
Thus, these files can be removed from datagram.c safely without
affecting the compilation of the net/ipv4 module

Signed-off-by: Mianhan Liu <liumh1@shanghaitech.edu.cn>

---
 net/ipv4/datagram.c | 1 -
 1 file changed, 1 deletion(-)

Comments

patchwork-bot+netdevbpf@kernel.org Sept. 29, 2021, 10:50 a.m. UTC | #1
Hello:

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

On Wed, 29 Sep 2021 13:31:09 +0800 you wrote:
> datagram.c hasn't use any macro or function declared in linux/ip.h.
> Thus, these files can be removed from datagram.c safely without
> affecting the compilation of the net/ipv4 module
> 
> Signed-off-by: Mianhan Liu <liumh1@shanghaitech.edu.cn>
> 
> 
> [...]

Here is the summary with links:
  - [-next,-v2] net/ipv4/datagram.c: remove superfluous header files from datagram.c
    https://git.kernel.org/netdev/net-next/c/6a832a6c72b9

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/net/ipv4/datagram.c b/net/ipv4/datagram.c
index 4a8550c49..48f337ccf 100644
--- a/net/ipv4/datagram.c
+++ b/net/ipv4/datagram.c
@@ -9,7 +9,6 @@ 
 
 #include <linux/types.h>
 #include <linux/module.h>
-#include <linux/ip.h>
 #include <linux/in.h>
 #include <net/ip.h>
 #include <net/sock.h>