Blackfin Serial Driver: punt unused lsr variable
authorMike Frysinger <vapier.adi@gmail.com>
Wed, 23 Apr 2008 20:56:02 +0000 (04:56 +0800)
committerBryan Wu <cooloney@kernel.org>
Wed, 23 Apr 2008 20:56:02 +0000 (04:56 +0800)
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
drivers/serial/bfin_5xx.c

index 4e0b8cd4d4e0edd969c1fc7cd663f9c1fbd0df59..b773764ddab97d4016ab8d31ff833eae58d8b4e9 100644 (file)
@@ -749,7 +749,7 @@ bfin_serial_set_termios(struct uart_port *port, struct ktermios *termios,
        struct bfin_serial_port *uart = (struct bfin_serial_port *)port;
        unsigned long flags;
        unsigned int baud, quot;
-       unsigned short val, ier, lsr, lcr = 0;
+       unsigned short val, ier, lcr = 0;
 
        switch (termios->c_cflag & CSIZE) {
        case CS8: