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

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


Removes a few unneeded include files from the timerfd code.



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


- Davide



Index: linux-2.6.21-rc5.mm4/fs/timerfd.c
===================================================================
--- linux-2.6.21-rc5.mm4.orig/fs/timerfd.c 2007-04-03 13:17:25.000000000 -0700
+++ linux-2.6.21-rc5.mm4/fs/timerfd.c 2007-04-03 13:17:38.000000000 -0700
@@ -10,23 +10,17 @@

#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/spinlock.h>
#include <linux/time.h>
#include <linux/hrtimer.h>
-#include <linux/jiffies.h>
#include <linux/anon_inodes.h>
#include <linux/timerfd.h>

-#include <asm/uaccess.h>
-
struct timerfd_ctx {
struct hrtimer tmr;
ktime_t tintv;

-
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/