diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2008-12-30 08:02:27 -0500 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2009-01-12 14:56:37 -0500 |
commit | 92c3dd15cd0589adf66c13c7b6114790c207e5a2 (patch) | |
tree | 0fdbcdf7f95cccf467c6537feca76b065c6bae0b /arch/m68k/mac/macints.c | |
parent | 8bd3968bd1653b4499e843bf86a167ead7c86b74 (diff) |
m68k: mac core - Kill warn_unused_result warnings
warning: ignoring return value of 'request_irq', declared with attribute
warn_unused_result
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/mac/macints.c')
-rw-r--r-- | arch/m68k/mac/macints.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/m68k/mac/macints.c b/arch/m68k/mac/macints.c index 7d0cbf3e1ff3..23711074e0e2 100644 --- a/arch/m68k/mac/macints.c +++ b/arch/m68k/mac/macints.c | |||
@@ -250,8 +250,9 @@ void __init mac_init_IRQ(void) | |||
250 | if (baboon_present) | 250 | if (baboon_present) |
251 | baboon_register_interrupts(); | 251 | baboon_register_interrupts(); |
252 | iop_register_interrupts(); | 252 | iop_register_interrupts(); |
253 | request_irq(IRQ_AUTO_7, mac_nmi_handler, 0, "NMI", | 253 | if (request_irq(IRQ_AUTO_7, mac_nmi_handler, 0, "NMI", |
254 | mac_nmi_handler); | 254 | mac_nmi_handler)) |
255 | pr_err("Couldn't register NMI\n"); | ||
255 | #ifdef DEBUG_MACINTS | 256 | #ifdef DEBUG_MACINTS |
256 | printk("mac_init_IRQ(): Done!\n"); | 257 | printk("mac_init_IRQ(): Done!\n"); |
257 | #endif | 258 | #endif |