WSL2-Linux-Kernel/net/netfilter/ipset
Jesper Juhl dec17b7451 Remove redundant linux/version.h includes from net/
It was suggested by "make versioncheck" that the follwing includes of
linux/version.h are redundant:

  /home/jj/src/linux-2.6/net/caif/caif_dev.c: 14 linux/version.h not needed.
  /home/jj/src/linux-2.6/net/caif/chnl_net.c: 10 linux/version.h not needed.
  /home/jj/src/linux-2.6/net/ipv4/gre.c: 19 linux/version.h not needed.
  /home/jj/src/linux-2.6/net/netfilter/ipset/ip_set_core.c: 20 linux/version.h not needed.
  /home/jj/src/linux-2.6/net/netfilter/xt_set.c: 16 linux/version.h not needed.

and it seems that it is right.

Beyond manually inspecting the source files I also did a few build
tests with various configs to confirm that including the header in
those files is indeed not needed.

Here's a patch to remove the pointless includes.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Acked-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-06-21 16:03:17 -07:00
..
Kconfig netfilter: ipset: hash:net,iface type introduced 2011-06-16 19:00:48 +02:00
Makefile netfilter: ipset: hash:net,iface type introduced 2011-06-16 19:00:48 +02:00
ip_set_bitmap_ip.c netfilter: ipset: add xt_action_param to the variant level kadt functions, ipset API change 2011-06-16 18:56:47 +02:00
ip_set_bitmap_ipmac.c netfilter: ipset: whitespace and coding fixes detected by checkpatch.pl 2011-06-16 19:01:26 +02:00
ip_set_bitmap_port.c netfilter: ipset: add xt_action_param to the variant level kadt functions, ipset API change 2011-06-16 18:56:47 +02:00
ip_set_core.c Remove redundant linux/version.h includes from net/ 2011-06-21 16:03:17 -07:00
ip_set_getport.c netfilter: ipset: SCTP, UDPLITE support added 2011-04-13 13:51:38 +02:00
ip_set_hash_ip.c netfilter: ipset: add xt_action_param to the variant level kadt functions, ipset API change 2011-06-16 18:56:47 +02:00
ip_set_hash_ipport.c netfilter: ipset: add xt_action_param to the variant level kadt functions, ipset API change 2011-06-16 18:56:47 +02:00
ip_set_hash_ipportip.c netfilter: ipset: add xt_action_param to the variant level kadt functions, ipset API change 2011-06-16 18:56:47 +02:00
ip_set_hash_ipportnet.c netfilter: ipset: use the stored first cidr value instead of '1' 2011-06-16 18:58:20 +02:00
ip_set_hash_net.c netfilter: ipset: whitespace and coding fixes detected by checkpatch.pl 2011-06-16 19:01:26 +02:00
ip_set_hash_netiface.c netfilter: ipset: whitespace and coding fixes detected by checkpatch.pl 2011-06-16 19:01:26 +02:00
ip_set_hash_netport.c netfilter: ipset: whitespace and coding fixes detected by checkpatch.pl 2011-06-16 19:01:26 +02:00
ip_set_list_set.c netfilter: ipset: add xt_action_param to the variant level kadt functions, ipset API change 2011-06-16 18:56:47 +02:00
pfxlen.c netfilter: ipset: whitespace and coding fixes detected by checkpatch.pl 2011-06-16 19:01:26 +02:00