mirror of https://gitee.com/openkylin/linux.git
[SERIAL] Remove unused variable in sa1100.c
Since the spinlock was removed from sa1100_start_tx(), the "flags" variable becomes redundant. Remove it. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
b63d4f0fb8
commit
832f4ede79
|
@ -161,7 +161,6 @@ static void sa1100_stop_tx(struct uart_port *port)
|
|||
static void sa1100_start_tx(struct uart_port *port)
|
||||
{
|
||||
struct sa1100_port *sport = (struct sa1100_port *)port;
|
||||
unsigned long flags;
|
||||
u32 utcr3;
|
||||
|
||||
utcr3 = UART_GET_UTCR3(sport);
|
||||
|
|
Loading…
Reference in New Issue