diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2015-02-24 11:17:06 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-07 03:26:32 +0100 |
commit | 694e6729bf0e317e0b67c37cda1b74a5b04fbc07 (patch) | |
tree | ef92833fcffbab76c5f769deec5c1307faa13a30 /drivers/tty/serial | |
parent | 91555ce9012557b2d621d7b0b6ec694218a2a9bc (diff) | |
download | op-kernel-dev-694e6729bf0e317e0b67c37cda1b74a5b04fbc07.zip op-kernel-dev-694e6729bf0e317e0b67c37cda1b74a5b04fbc07.tar.gz |
serial: imx: remove long dead code
This if (0) exists since the driver was introduced in commit
c49bde83eb6a ([ARM PATCH] 1956/2: Re: Motorola i.MX serial driver)
back in 2004.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r-- | drivers/tty/serial/imx.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index 0f2afae..9e3a8ff 100644 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c @@ -1371,15 +1371,6 @@ imx_set_termios(struct uart_port *port, struct ktermios *termios, uint64_t tdiv64; /* - * If we don't support modem control lines, don't allow - * these to be set. - */ - if (0) { - termios->c_cflag &= ~(HUPCL | CRTSCTS | CMSPAR); - termios->c_cflag |= CLOCAL; - } - - /* * We only support CS7 and CS8. */ while ((termios->c_cflag & CSIZE) != CS7 && |