Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jul 2009 10:41:11 GMT
From:      Andre Oppermann <andre@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 165926 for review
Message-ID:  <200907111041.n6BAfBRK089828@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=165926

Change 165926 by andre@andre_t61 on 2009/07/11 10:41:06

	Remove unneeded includes.

Affected files ...

.. //depot/projects/tcp_new/netinet/tcp_sack.c#4 edit

Differences ...

==== //depot/projects/tcp_new/netinet/tcp_sack.c#4 (text+ko) ====

@@ -41,39 +41,22 @@
 #include <sys/systm.h>
 #include <sys/kernel.h>
 #include <sys/sysctl.h>
-#include <sys/malloc.h>
-#include <sys/mbuf.h>
 #include <sys/proc.h>		/* for proc0 declaration */
-#include <sys/protosw.h>
-#include <sys/socket.h>
-#include <sys/socketvar.h>
-#include <sys/syslog.h>
 #include <sys/systm.h>
 
-#include <machine/cpu.h>	/* before tcp_seq.h, for tcp_random18() */
-
 #include <vm/uma.h>
 
-#include <net/if.h>
-#include <net/route.h>
-
 #include <netinet/in.h>
 #include <netinet/in_systm.h>
 #include <netinet/ip.h>
 #include <netinet/in_var.h>
 #include <netinet/in_pcb.h>
 #include <netinet/ip_var.h>
-#include <netinet/ip6.h>
-#include <netinet/icmp6.h>
-#include <netinet6/nd6.h>
-#include <netinet6/ip6_var.h>
-#include <netinet6/in6_pcb.h>
 #include <netinet/tcp.h>
 #include <netinet/tcp_fsm.h>
 #include <netinet/tcp_seq.h>
 #include <netinet/tcp_timer.h>
 #include <netinet/tcp_var.h>
-#include <netinet6/tcp6_var.h>
 #include <netinet/tcpip.h>
 #ifdef TCPDEBUG
 #include <netinet/tcp_debug.h>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907111041.n6BAfBRK089828>