m68k/mac: cleanup mac_clear_irq
authorFinn Thain <fthain@telegraphics.com.au>
Sun, 23 Oct 2011 14:11:13 +0000 (01:11 +1100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Sat, 10 Dec 2011 18:52:45 +0000 (19:52 +0100)
commit56e63689fd866a865682fe14dc5a7e1ec3b2c3ad
treeea3d93e64b186b586a601027a2ad0c95a96c9811
parent93edd023a7de1ea4fe6e5de631982b96156eef03
m68k/mac: cleanup mac_clear_irq

mac_clear_irq() is dead code and has been dead for as long as I can recall. On certain Mac models, certain irqs can't be cleared this way. Outside of irq dispatch, this code appears be unusable without busy loops or worse, and for irq dispatch we duplicate the same logic. Remove mac_clear_irq() and supporting code.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/mac/baboon.c
arch/m68k/mac/macints.c
arch/m68k/mac/oss.c
arch/m68k/mac/psc.c
arch/m68k/mac/via.c