diff options
Diffstat (limited to 'drivers/serial/8250.c')
-rw-r--r-- | drivers/serial/8250.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c index c9832d963f1e..48e259a0167d 100644 --- a/drivers/serial/8250.c +++ b/drivers/serial/8250.c | |||
@@ -994,7 +994,6 @@ static void autoconfig(struct uart_8250_port *up, unsigned int probeflags) | |||
994 | * be frobbing the chips IRQ enable register to see if it exists. | 994 | * be frobbing the chips IRQ enable register to see if it exists. |
995 | */ | 995 | */ |
996 | spin_lock_irqsave(&up->port.lock, flags); | 996 | spin_lock_irqsave(&up->port.lock, flags); |
997 | // save_flags(flags); cli(); | ||
998 | 997 | ||
999 | up->capabilities = 0; | 998 | up->capabilities = 0; |
1000 | up->bugs = 0; | 999 | up->bugs = 0; |
@@ -1151,7 +1150,6 @@ static void autoconfig(struct uart_8250_port *up, unsigned int probeflags) | |||
1151 | 1150 | ||
1152 | out: | 1151 | out: |
1153 | spin_unlock_irqrestore(&up->port.lock, flags); | 1152 | spin_unlock_irqrestore(&up->port.lock, flags); |
1154 | // restore_flags(flags); | ||
1155 | DEBUG_AUTOCONF("type=%s\n", uart_config[up->port.type].name); | 1153 | DEBUG_AUTOCONF("type=%s\n", uart_config[up->port.type].name); |
1156 | } | 1154 | } |
1157 | 1155 | ||