summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@gmail.com>2007-05-08 09:32:10 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 20:15:15 +0200
commitfef92c30d48a9c610e35af6b218db03f770f3c65 (patch)
tree068411c850c91f0d040e66662124a41520cf6510
parentuse mutex instead of semaphore for misc char devices (diff)
downloadlinux-fef92c30d48a9c610e35af6b218db03f770f3c65.tar.xz
linux-fef92c30d48a9c610e35af6b218db03f770f3c65.zip
8250: Remove commented out irq cruft
Remove some obviously old interrupt disable/enable code that has been commented out. Signed-off-by: Josh Boyer <jwboyer@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/serial/8250.c2
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)
* be frobbing the chips IRQ enable register to see if it exists.
*/
spin_lock_irqsave(&up->port.lock, flags);
-// save_flags(flags); cli();
up->capabilities = 0;
up->bugs = 0;
@@ -1151,7 +1150,6 @@ static void autoconfig(struct uart_8250_port *up, unsigned int probeflags)
out:
spin_unlock_irqrestore(&up->port.lock, flags);
-// restore_flags(flags);
DEBUG_AUTOCONF("type=%s\n", uart_config[up->port.type].name);
}