]> err.no Git - linux-2.6/commitdiff
[PATCH] Serial: remove unused variable in sa1100 driver
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Wed, 8 Jun 2005 18:26:47 +0000 (19:26 +0100)
committerRussell King <rmk@dyn-67.arm.linux.org.uk>
Wed, 8 Jun 2005 18:26:47 +0000 (19:26 +0100)
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/serial/sa1100.c

index 22565a67a57cd0e6e63a85540addbcbbe2ec5321..98641c3f5ab9dedb9de0dd1be2eb1806469fb692 100644 (file)
@@ -197,7 +197,7 @@ static void
 sa1100_rx_chars(struct sa1100_port *sport, struct pt_regs *regs)
 {
        struct tty_struct *tty = sport->port.info->tty;
-       unsigned int status, ch, flg, ignored = 0;
+       unsigned int status, ch, flg;
 
        status = UTSR1_TO_SM(UART_GET_UTSR1(sport)) |
                 UTSR0_TO_SM(UART_GET_UTSR0(sport));