Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jun 2009 10:04:26 GMT
From:      Zhao Shuai <zhaoshuai@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 165034 for review
Message-ID:  <200906241004.n5OA4QEh074571@repoman.freebsd.org>

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

Change 165034 by zhaoshuai@zhaoshuai on 2009/06/24 10:04:25

	remove unnecessary header files

Affected files ...

.. //depot/projects/soc2009/fifo/sys/fs/fifofs/fifo_vnops.c#17 edit
.. //depot/projects/soc2009/fifo/sys/kern/subr_pipe.c#8 edit
.. //depot/projects/soc2009/fifo/sys/kern/sys_pipe.c#14 edit

Differences ...

==== //depot/projects/soc2009/fifo/sys/fs/fifofs/fifo_vnops.c#17 (text+ko) ====

@@ -36,7 +36,6 @@
  */
 
 #include <sys/param.h>
-#include <sys/file.h>
 #include <sys/filedesc.h>
 #include <sys/filio.h>
 #include <sys/fcntl.h>

==== //depot/projects/soc2009/fifo/sys/kern/subr_pipe.c#8 (text+ko) ====

@@ -98,7 +98,6 @@
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/fcntl.h>
-#include <sys/file.h>
 #include <sys/filedesc.h>
 #include <sys/filio.h>
 #include <sys/kernel.h>

==== //depot/projects/soc2009/fifo/sys/kern/sys_pipe.c#14 (text+ko) ====

@@ -22,18 +22,13 @@
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/fcntl.h>
-#include <sys/file.h>
 #include <sys/filedesc.h>
 #include <sys/filio.h>
 #include <sys/kernel.h>
-#include <sys/lock.h>
 #include <sys/stat.h>
 #include <sys/malloc.h>
-#include <sys/poll.h>
 #include <sys/selinfo.h>
-#include <sys/signalvar.h>
 #include <sys/syscallsubr.h>
-#include <sys/sysctl.h>
 #include <sys/sysproto.h>
 #include <sys/pipe.h>
 #include <sys/proc.h>
@@ -154,7 +149,7 @@
 }
 
 static int
-pipe_truncate_f(struct file *fp, off_t length, struct ucred *active_cred,	struct thread *td)
+pipe_truncate_f(struct file *fp, off_t length, struct ucred *active_cred, struct thread *td)
 {
 
 	struct pipe *pipe = fp->f_data;



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