summaryrefslogtreecommitdiff
path: root/drivers/tty
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2013-11-03 16:38:12 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-09 00:44:21 (GMT)
commit187094feeb77b5f49513f6a1cfe12749c080bd96 (patch)
treef7bca370a34dd9260ddce7b344d1bf66ddd8b436 /drivers/tty
parent8913a316e3f74b800c3a4e0d4c85cab26bbb9c53 (diff)
downloadlinux-187094feeb77b5f49513f6a1cfe12749c080bd96.tar.xz
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')
-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 7203864..742c8bf 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 {