diff options
-rw-r--r-- | arch/ia64/hp/sim/simserial.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/ia64/hp/sim/simserial.c b/arch/ia64/hp/sim/simserial.c index 3a079decde51..8f68972b015f 100644 --- a/arch/ia64/hp/sim/simserial.c +++ b/arch/ia64/hp/sim/simserial.c | |||
@@ -692,15 +692,8 @@ startup(struct async_struct *info) | |||
692 | handler = rs_interrupt_single; | 692 | handler = rs_interrupt_single; |
693 | 693 | ||
694 | retval = request_irq(state->irq, handler, IRQ_T(info), "simserial", NULL); | 694 | retval = request_irq(state->irq, handler, IRQ_T(info), "simserial", NULL); |
695 | if (retval) { | 695 | if (retval) |
696 | if (capable(CAP_SYS_ADMIN)) { | ||
697 | if (info->tty) | ||
698 | set_bit(TTY_IO_ERROR, | ||
699 | &info->tty->flags); | ||
700 | retval = 0; | ||
701 | } | ||
702 | goto errout; | 696 | goto errout; |
703 | } | ||
704 | } | 697 | } |
705 | 698 | ||
706 | /* | 699 | /* |