WSL2-Linux-Kernel/net/caif
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 caif: Kconfig and Makefile fixes 2010-06-29 00:06:38 -07:00
Makefile caif: prepare support for namespaces 2011-05-15 17:45:55 -04:00
caif_dev.c Remove redundant linux/version.h includes from net/ 2011-06-21 16:03:17 -07:00
caif_socket.c caif: Fixes freeze on Link layer removal. 2011-05-22 20:11:47 -04:00
cfcnfg.c caif: Fixes freeze on Link layer removal. 2011-05-22 20:11:47 -04:00
cfctrl.c caif: Fix freezes when running CAIF loopback device 2011-05-22 20:11:48 -04:00
cfdbgl.c caif: Bugfix for socket priority, bindtodev and dbg channel. 2010-11-03 18:50:03 -07:00
cfdgml.c caif: Don't resend if dev_queue_xmit fails. 2011-04-11 15:08:48 -07:00
cffrml.c caif: Handle dev_queue_xmit errors. 2011-05-15 17:45:56 -04:00
cfmuxl.c caif: Bugfix - XOFF removed channel from caif-mux 2011-06-16 23:59:09 -04:00
cfpkt_skbuff.c caif: remove unesesarry exports 2011-05-15 17:45:56 -04:00
cfrfml.c caif: Move refcount from service layer to sock and dev. 2011-05-15 17:45:55 -04:00
cfserl.c caif: Don't resend if dev_queue_xmit fails. 2011-04-11 15:08:48 -07:00
cfsrvl.c caif: Move refcount from service layer to sock and dev. 2011-05-15 17:45:55 -04:00
cfutill.c caif: Don't resend if dev_queue_xmit fails. 2011-04-11 15:08:48 -07:00
cfveil.c caif: Handle dev_queue_xmit errors. 2011-05-15 17:45:56 -04:00
cfvidl.c caif: Don't resend if dev_queue_xmit fails. 2011-04-11 15:08:48 -07:00
chnl_net.c Remove redundant linux/version.h includes from net/ 2011-06-21 16:03:17 -07:00