summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-11-19 14:26:17 +0300
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-11-19 14:26:17 +0300
commit832f4ede791ae0a96dcbb231ccb181ad7a54bfc2 (patch)
treefcf5ab73b08104138528409b5c7c8f9cb305bd36 /drivers
parentb63d4f0fb80918ab37b6c0ee1adcd49e05c9994c (diff)
downloadlinux-832f4ede791ae0a96dcbb231ccb181ad7a54bfc2.tar.xz
[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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/serial/sa1100.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/serial/sa1100.c b/drivers/serial/sa1100.c
index 0e3daf6d7b50..25a086458ab9 100644
--- 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);