[patch 3/5] new fds fixes for 2.6.21-rc5.mm4 - signalfd include files diet ...

From: Davide Libenzi
Date: Tue Apr 03 2007 - 16:22:24 EST


Removes a few unneeded include files from the signalfd code.



Signed-off-by: Davide Libenzi <davidel@xxxxxxxxxxxxxxx>


- Davide



Index: linux-2.6.21-rc5.mm4/fs/signalfd.c
===================================================================
--- linux-2.6.21-rc5.mm4.orig/fs/signalfd.c 2007-04-03 13:17:25.000000000 -0700
+++ linux-2.6.21-rc5.mm4/fs/signalfd.c 2007-04-03 13:17:36.000000000 -0700
@@ -15,19 +15,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/signal.h>
#include <linux/list.h>
#include <linux/anon_inodes.h>
#include <linux/signalfd.h>

-#include <asm/uaccess.h>
-
struct signalfd_ctx {
struct list_head lnk;
wait_queue_head_t wqh;

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