diff options
author | Richard Zhu <r65037@freescale.com> | 2014-07-01 16:13:30 +0800 |
---|---|---|
committer | Richard Zhu <r65037@freescale.com> | 2014-07-02 08:42:01 +0800 |
commit | b29440aee574c8829be3725c571c6434cb086a1e (patch) | |
tree | c6589c09c14db6f6241538b7b6ff80ed6f2eb6eb /drivers | |
parent | 914c72a50c7c2a1d44cb87a9ab0ace80d4ede83b (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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/char/imx_mcc/imx_mcc_tty.c | 1 |
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) { |