提交 ff39bc77 编写于 作者: R Russell King

[PATCH] Serial: remove unused variable in sa1100 driver

Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 eae936e2
...@@ -197,7 +197,7 @@ static void ...@@ -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));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册