PERFORCE change 161163 for review

Marko Zec zec at FreeBSD.org
Mon Apr 27 08:14:46 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=161163

Change 161163 by zec at zec_amdx2 on 2009/04/27 08:13:58

	Trim unneeded #includes.

Affected files ...

.. //depot/projects/vimage/src/sys/kern/kern_vimage.c#82 edit

Differences ...

==== //depot/projects/vimage/src/sys/kern/kern_vimage.c#82 (text+ko) ====

@@ -40,14 +40,10 @@
 #include <sys/lock.h>
 #include <sys/malloc.h>
 #include <sys/priv.h>
-#include <sys/proc.h>
 #include <sys/socket.h>
-#include <sys/socketvar.h>
 #include <sys/refcount.h>
-#include <sys/sched.h>
 #include <sys/sockio.h>
 #include <sys/sx.h>
-#include <sys/sysctl.h>
 #include <sys/vimage.h>
 
 #ifdef DDB
@@ -55,18 +51,12 @@
 #endif
 
 #include <net/if.h>
-#include <net/if_dl.h>
 #include <net/if_clone.h>
-#include <net/if_types.h>
-#include <net/if_var.h>
-#include <net/ethernet.h>
 #include <net/route.h>
 #include <net/vnet.h>
 
 struct vnet_modlink;
 
-//#define DEBUG_ORDERING
-
 MALLOC_DEFINE(M_VIMAGE, "vimage", "vimage resource container");
 MALLOC_DEFINE(M_VNET, "vnet", "network stack control block");
 MALLOC_DEFINE(M_VPROCG, "vprocg", "process group control block");


More information about the p4-projects mailing list