[2.6 patch] #if 0 hpet_unregister()
- From: Adrian Bunk <bunk@xxxxxxxxxx>
- Date: Sat, 1 Mar 2008 18:23:23 +0200
This patch #if 0's the unused hpet_unregister().
Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>
---
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/
- Follow-Ups:
- Re: [2.6 patch] #if 0 hpet_unregister()
- From: Clemens Ladisch
- Re: [2.6 patch] #if 0 hpet_unregister()
- Prev by Date: [2.6 patch] make cdrom.c:check_for_audio_disc() static
- Next by Date: Re: [rfc 07/10] Pageflags: Get rid of FLAGS_RESERVED
- Previous by thread: [2.6 patch] make cdrom.c:check_for_audio_disc() static
- Next by thread: Re: [2.6 patch] #if 0 hpet_unregister()
- Index(es):
Relevant Pages
|