From: Jiri Slaby Date: Mon, 5 Mar 2012 13:52:18 +0000 (+0100) Subject: TTY: simserial, remove IRQ_T X-Git-Tag: MMI-PSA29.97-13-9~17267^2~57 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2f8c521a1d41faf96f729c76991eb4ad70294513;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git TTY: simserial, remove IRQ_T We do not set ASYNC_SHARE_IRQ anywhere. And since IRQF_DISABLED is a noop, pass zero to request_irq directly instead of this ugly macro. Signed-off-by: Jiri Slaby Cc: Tony Luck Cc: Fenghua Yu Signed-off-by: Greg Kroah-Hartman --- diff --git a/arch/ia64/hp/sim/simserial.c b/arch/ia64/hp/sim/simserial.c index c35552df035e..8b5a1342e119 100644 --- a/arch/ia64/hp/sim/simserial.c +++ b/arch/ia64/hp/sim/simserial.c @@ -46,8 +46,6 @@ #define NR_PORTS 1 /* only one port for now */ -#define IRQ_T(state) ((state->flags & ASYNC_SHARE_IRQ) ? IRQF_SHARED : IRQF_DISABLED) - static char *serial_name = "SimSerial driver"; static char *serial_version = "0.6"; @@ -644,8 +642,8 @@ startup(struct async_struct *info) * Allocate the IRQ if necessary */ if (state->irq) { - retval = request_irq(state->irq, rs_interrupt_single, - IRQ_T(state), "simserial", info); + retval = request_irq(state->irq, rs_interrupt_single, 0, + "simserial", info); if (retval) goto errout; }