Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 694e6729 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Greg Kroah-Hartman
Browse files

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: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 91555ce9
Loading
Loading
Loading
Loading
+0 −9
Original line number Original line Diff line number Diff line
@@ -1370,15 +1370,6 @@ imx_set_termios(struct uart_port *port, struct ktermios *termios,
	unsigned long num, denom;
	unsigned long num, denom;
	uint64_t tdiv64;
	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.
	 * We only support CS7 and CS8.
	 */
	 */