From: David Howells Date: Thu, 28 Feb 2008 13:29:43 +0000 (+0000) Subject: Fix hpet_(un)register_irq_handler() for emulation X-Git-Tag: v2.6.25-rc4~152 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32fa458688fa2e68bc433929b2d4941eef7efe39;p=pandora-kernel.git 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 Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed