[2.6 patch] #if 0 hpet_unregister()

From: Adrian Bunk
Date: Wed Apr 23 2008 - 05:52:38 EST


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

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>
Acked-by: Clemens Ladisch <clemens@xxxxxxxxxx>

---

This patch has been sent on:
- 14 Apr 2008
- 31 Mar 2008
- 1 Mar 2008

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[] = {
{


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