Skip to content

Commit

Permalink
#if 0 hpet_unregister()
Browse files Browse the repository at this point in the history
This patch #if 0's the unused hpet_unregister().

Signed-off-by: Adrian Bunk <[email protected]>
Acked-by: Clemens Ladisch <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
AdrianBunk authored and torvalds committed Jul 25, 2008
1 parent 8d1e120 commit 372572e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/char/hpet.c
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,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;
Expand Down Expand Up @@ -652,6 +653,7 @@ int hpet_unregister(struct hpet_task *tp)

return 0;
}
#endif /* 0 */

static ctl_table hpet_table[] = {
{
Expand Down

0 comments on commit 372572e

Please sign in to comment.