Explorar o código

[PATCH] Serial: remove unused variable in sa1100 driver

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Russell King %!s(int64=20) %!d(string=hai) anos
pai
achega
ff39bc772a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/serial/sa1100.c

+ 1 - 1
drivers/serial/sa1100.c

@@ -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));