summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Zhu <r65037@freescale.com>2014-07-01 16:13:30 +0800
committerRichard Zhu <r65037@freescale.com>2014-07-02 08:42:01 +0800
commitb29440aee574c8829be3725c571c6434cb086a1e (patch)
treec6589c09c14db6f6241538b7b6ff80ed6f2eb6eb
parent914c72a50c7c2a1d44cb87a9ab0ace80d4ede83b (diff)
ENGR00320627 mcc: fix one compile error
the delete of the tx_buf and tx_lock is not completed. remove the left codes, to fix the compile error. Signed-off-by: Richard Zhu <r65037@freescale.com>
-rw-r--r--drivers/char/imx_mcc/imx_mcc_tty.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/imx_mcc/imx_mcc_tty.c b/drivers/char/imx_mcc/imx_mcc_tty.c
index 843b5fcbd010..4ce5b9b8bd8e 100644
--- a/drivers/char/imx_mcc/imx_mcc_tty.c
+++ b/drivers/char/imx_mcc/imx_mcc_tty.c
@@ -198,7 +198,6 @@ static int __init imxmcctty_init(void)
tty_port_init(&cport->port);
cport->port.ops = &mcctty_port_ops;
spin_lock_init(&cport->rx_lock);
- spin_lock_init(&cport->tx_lock);
ret = tty_register_driver(mcctty_driver);
if (ret < 0) {