From 247bc426208ecac30b1677b8f060ec389c412c70 Mon Sep 17 00:00:00 2001 From: Richard Zhu Date: Tue, 1 Jul 2014 16:13:30 +0800 Subject: [PATCH] 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 --- drivers/char/imx_mcc/imx_mcc_tty.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/char/imx_mcc/imx_mcc_tty.c b/drivers/char/imx_mcc/imx_mcc_tty.c index 843b5fcbd010b1..4ce5b9b8bd8e41 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) {