PERFORCE change 134160 for review

John Birrell jb at FreeBSD.org
Sat Jan 26 14:40:50 PST 2008


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

Change 134160 by jb at jb_freebsd1 on 2008/01/26 22:39:51

	Remove unnecessary includes.

Affected files ...

.. //depot/projects/dtrace/src/sys/cddl/dev/prototype.c#8 edit

Differences ...

==== //depot/projects/dtrace/src/sys/cddl/dev/prototype.c#8 (text+ko) ====

@@ -33,33 +33,10 @@
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/conf.h>
-#include <sys/cpuvar.h>
-#include <sys/fcntl.h>
-#include <sys/filio.h>
-#include <sys/kdb.h>
 #include <sys/kernel.h>
-#include <sys/kmem.h>
-#include <sys/kthread.h>
-#include <sys/limits.h>
-#include <sys/linker.h>
-#include <sys/lock.h>
-#include <sys/malloc.h>
 #include <sys/module.h>
-#include <sys/mutex.h>
-#include <sys/poll.h>
-#include <sys/proc.h>
-#include <sys/sdt.h>
-#include <sys/selinfo.h>
-#include <sys/smp.h>
-#include <sys/syscall.h>
-#include <sys/sysent.h>
-#include <sys/sysproto.h>
-#include <sys/uio.h>
-#include <sys/unistd.h>
-#include <machine/stdarg.h>
 
-#include <sys/dtrace_impl.h>
-#include <sys/sdt.h>
+#include <sys/dtrace.h>
 
 static d_open_t	prototype_open;
 static int	prototype_unload(void);
@@ -99,25 +76,21 @@
 static struct cdev		*prototype_cdev;
 static dtrace_provider_id_t	prototype_id;
 
-/*ARGSUSED*/
 static void
 prototype_provide(void *arg, dtrace_probedesc_t *desc)
 {
 }
 
-/* ARGSUSED */
 static void
 prototype_destroy(void *arg, dtrace_id_t id, void *parg)
 {
 }
 
-/* ARGSUSED */
 static void
 prototype_enable(void *arg, dtrace_id_t id, void *parg)
 {
 }
 
-/* ARGSUSED */
 static void
 prototype_disable(void *arg, dtrace_id_t id, void *parg)
 {
@@ -149,7 +122,6 @@
 	return (error);
 }
 
-/* ARGSUSED */
 static int
 prototype_modevent(module_t mod __unused, int type, void *data __unused)
 {
@@ -174,7 +146,6 @@
 	return (error);
 }
 
-/* ARGSUSED */
 static int
 prototype_open(struct cdev *dev __unused, int oflags __unused, int devtype __unused, struct thread *td __unused)
 {


More information about the p4-projects mailing list