From: Russell King Date: Wed, 8 Jun 2005 18:26:47 +0000 (+0100) Subject: [PATCH] Serial: remove unused variable in sa1100 driver X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ff39bc772ad18d8c7f9334926053b718d7932de0;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [PATCH] Serial: remove unused variable in sa1100 driver Signed-off-by: Russell King --- diff --git a/drivers/serial/sa1100.c b/drivers/serial/sa1100.c index 22565a67a57..98641c3f5ab 100644 --- a/drivers/serial/sa1100.c +++ b/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));