Эх сурвалжийг харах

[PATCH] Serial: remove unused variable in sa1100 driver

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Russell King 20 жил өмнө
parent
commit
ff39bc772a

+ 1 - 1
drivers/serial/sa1100.c

@@ -197,7 +197,7 @@ static void
 sa1100_rx_chars(struct sa1100_port *sport, struct pt_regs *regs)
 sa1100_rx_chars(struct sa1100_port *sport, struct pt_regs *regs)
 {
 {
 	struct tty_struct *tty = sport->port.info->tty;
 	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)) |
 	status = UTSR1_TO_SM(UART_GET_UTSR1(sport)) |
 		 UTSR0_TO_SM(UART_GET_UTSR0(sport));
 		 UTSR0_TO_SM(UART_GET_UTSR0(sport));