提交 372572e9 编写于 作者: A Adrian Bunk 提交者: Linus Torvalds

#if 0 hpet_unregister()

This patch #if 0's the unused hpet_unregister().
Signed-off-by: NAdrian Bunk <bunk@kernel.org>
Acked-by: NClemens Ladisch <clemens@ladisch.de>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 8d1e120f
...@@ -623,6 +623,7 @@ static inline int hpet_tpcheck(struct hpet_task *tp) ...@@ -623,6 +623,7 @@ static inline int hpet_tpcheck(struct hpet_task *tp)
return -ENXIO; return -ENXIO;
} }
#if 0
int hpet_unregister(struct hpet_task *tp) int hpet_unregister(struct hpet_task *tp)
{ {
struct hpet_dev *devp; struct hpet_dev *devp;
...@@ -652,6 +653,7 @@ int hpet_unregister(struct hpet_task *tp) ...@@ -652,6 +653,7 @@ int hpet_unregister(struct hpet_task *tp)
return 0; return 0;
} }
#endif /* 0 */
static ctl_table hpet_table[] = { static ctl_table hpet_table[] = {
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册