Skip to content

Commit

Permalink
net/ipv4/datagram.c: remove superfluous header files from datagram.c
Browse files Browse the repository at this point in the history
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Mianhan Liu authored and David S. Miller committed Sep 29, 2021
1 parent ca4b064 commit 6a832a6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/ipv4/datagram.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 6a832a6

Please sign in to comment.