[2.6 patch] #if 0 hpet_unregister()

Previous thread: [2.6 patch] make cdrom.c:check_for_audio_disc() static by Adrian Bunk on Saturday, March 1, 2008 - 9:23 am. (1 message)

Next thread: CLONE_NEWNS and bind mounts to make "chroot" jail by Leibowitz, Michael on Saturday, March 1, 2008 - 10:05 am. (5 messages)
From: Adrian Bunk
Date: Saturday, March 1, 2008 - 9:23 am

This patch #if 0's the unused hpet_unregister().

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

 drivers/char/hpet.c |    2 ++
 1 file changed, 2 insertions(+)

addfb1ea425cb7e01ddd99fd921c6ca42cc6840b foobar
diff --git a/drivers/char/hpet.c b/drivers/char/hpet.c
index 465ad35..98ffdcc 100644
--- a/drivers/char/hpet.c
+++ b/drivers/char/hpet.c
@@ -619,6 +619,7 @@ static inline int hpet_tpcheck(struct hpet_task *tp)
 	return -ENXIO;
 }
 
+#if 0
 int hpet_unregister(struct hpet_task *tp)
 {
 	struct hpet_dev *devp;
@@ -648,6 +649,7 @@ int hpet_unregister(struct hpet_task *tp)
 
 	return 0;
 }
+#endif  /*  0  */
 
 static ctl_table hpet_table[] = {
 	{

--

From: Clemens Ladisch
Date: Monday, March 3, 2008 - 9:49 am

Acked-by: Clemens Ladisch <clemens@ladisch.de>
--

Previous thread: [2.6 patch] make cdrom.c:check_for_audio_disc() static by Adrian Bunk on Saturday, March 1, 2008 - 9:23 am. (1 message)

Next thread: CLONE_NEWNS and bind mounts to make "chroot" jail by Leibowitz, Michael on Saturday, March 1, 2008 - 10:05 am. (5 messages)