projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b63d4f0
)
[SERIAL] Remove unused variable in sa1100.c
author
Russell King
<rmk@dyn-67.arm.linux.org.uk>
Sat, 19 Nov 2005 11:26:17 +0000
(11:26 +0000)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Sat, 19 Nov 2005 11:26:17 +0000
(11:26 +0000)
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>
drivers/serial/sa1100.c
patch
|
blob
|
history
diff --git
a/drivers/serial/sa1100.c
b/drivers/serial/sa1100.c
index 0e3daf6d7b502575f05baf78d90bb7f37919f2d2..25a086458ab9bcb431d06eb6a7d92e71d3e7f405 100644
(file)
--- a/
drivers/serial/sa1100.c
+++ b/
drivers/serial/sa1100.c
@@
-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);