Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Apr 2009 08:14:45 GMT
From:      Marko Zec <zec@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 161163 for review
Message-ID:  <200904270814.n3R8Ej5j032897@repoman.freebsd.org>

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

Change 161163 by zec@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");



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