diff options
author | David Howells <[email protected]> | 2008-02-28 13:29:43 +0000 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2008-02-29 08:06:37 -0800 |
commit | 32fa458688fa2e68bc433929b2d4941eef7efe39 (patch) | |
tree | 0ae8fa708560fefb84e1f90cce6b9ce6300ec05d /lib/debugobjects.c | |
parent | b59931649256685f294d2d163a4f6d6286fbff05 (diff) |
Fix hpet_(un)register_irq_handler() for emulation
Fix hpet_(un)register_irq_handler() for when CONFIG_HPET_EMULATE_RTC=n. They
are provided macros that substitute value 0, but if they are called as
functions and the return value isn't checked, the following warnings appear:
drivers/char/rtc.c: In function `rtc_init':
drivers/char/rtc.c:1063: warning: statement with no effect
drivers/char/rtc.c: In function `rtc_exit':
drivers/char/rtc.c:1157: warning: statement with no effect
Signed-off-by: David Howells <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions