Removes a few unneeded include files from the eventfd code.


Signed-off-by: Davide Libenzi <davidel@xmailserver.org>


- Davide



Index: linux-2.6.21-rc5.mm4/fs/eventfd.c
===================================================================
--- linux-2.6.21-rc5.mm4.orig/fs/eventfd.c      2007-04-03 13:17:25.000000000 
-0700
+++ linux-2.6.21-rc5.mm4/fs/eventfd.c   2007-04-03 13:17:39.000000000 -0700
@@ -7,20 +7,15 @@
 
 #include <linux/file.h>
 #include <linux/poll.h>
-#include <linux/slab.h>
 #include <linux/init.h>
 #include <linux/fs.h>
-#include <linux/mount.h>
-#include <linux/module.h>
+#include <linux/sched.h>
 #include <linux/kernel.h>
 #include <linux/list.h>
 #include <linux/spinlock.h>
-#include <linux/jiffies.h>
 #include <linux/anon_inodes.h>
 #include <linux/eventfd.h>
 
-#include <asm/uaccess.h>
-
 struct eventfd_ctx {
        spinlock_t lock;
        wait_queue_head_t wqh;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to