[PATCH] 8250: Remove commented out irq cruft

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Remove some obviously old interrupt disable/enable code that has been
commented out.

Signed-off-by: Josh Boyer <[email protected]>

diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c
index 90621c3..b37856a 100644
--- a/drivers/serial/8250.c
+++ b/drivers/serial/8250.c
@@ -913,7 +913,6 @@ static void autoconfig(struct uart_8250_port *up, unsigned i
        * 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;
@@ -1070,7 +1069,6 @@ static void autoconfig(struct uart_8250_port *up, unsigned

 out:
       spin_unlock_irqrestore(&up->port.lock, flags);
-//     restore_flags(flags);
       DEBUG_AUTOCONF("type=%s\n", uart_config[up->port.type].name);
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux