aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/amba-pl011.c
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2013-11-03 18:38:12 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-08 16:44:21 -0800
commit187094feeb77b5f49513f6a1cfe12749c080bd96 (patch)
treef7bca370a34dd9260ddce7b344d1bf66ddd8b436 /drivers/tty/serial/amba-pl011.c
parentserial: 8250_dw: remove ACPI ifdef (diff)
downloadlinux-dev-187094feeb77b5f49513f6a1cfe12749c080bd96.tar.xz
linux-dev-187094feeb77b5f49513f6a1cfe12749c080bd96.zip
serial: pl011: remove redundant early amba_ports declaration
This early amba_ports declaration was introduced by commit c16d51a32 (amba pl011: workaround for uart registers lockup) for use in the pl011_lockup_wa() routine. This routine was later removed by commit 4fd0690bb (serial: pl011: implement workaround for CTS clear event issue). Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/amba-pl011.c')
-rw-r--r--drivers/tty/serial/amba-pl011.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c
index 7203864992a5..742c8bf0c2d2 100644
--- a/drivers/tty/serial/amba-pl011.c
+++ b/drivers/tty/serial/amba-pl011.c
@@ -112,8 +112,6 @@ static struct vendor_data vendor_st = {
.get_fifosize = get_fifosize_st,
};
-static struct uart_amba_port *amba_ports[UART_NR];
-
/* Deals with DMA transactions */
struct pl011_sgbuf {