Skip to content

Commit

Permalink
ENGR00320627 mcc: fix one compile error
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Richard Zhu committed Jul 2, 2014
1 parent 3cda4b6 commit 247bc42
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/char/imx_mcc/imx_mcc_tty.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 247bc42

Please sign in to comment.