serial: Delete dead code for CIR serial ports
authorMatthias Brugger <mbrugger@suse.com>
Fri, 16 Jun 2017 15:17:14 +0000 (17:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Jun 2017 02:24:15 +0000 (10:24 +0800)
commit1104321a7b3bb670dc614ffa7958c553e7b3b836
tree3dfa307fe1350fb4cad9c4f969aea1cba801126b
parent519495431d04acc8bfb681a5455f163c6a14206b
serial: Delete dead code for CIR serial ports

Commit e4fda3a04275 ("serial: don't register CIR serial ports") adds a
check for PORT_8250_CIR to serial8250_register_8250_port(). But the code
isn't needed as the function never takes the branch when the port is CIR
serial port.

This patch deletes the dead code.

Signed-off-by: Matthias Brugger <mbrugger@suse.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_core.c