diff options
author | Matthias Brugger <mbrugger@suse.com> | 2017-06-16 17:17:14 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-20 10:24:15 +0800 |
commit | 1104321a7b3bb670dc614ffa7958c553e7b3b836 (patch) | |
tree | 3dfa307fe1350fb4cad9c4f969aea1cba801126b /mm/swap_state.c | |
parent | 519495431d04acc8bfb681a5455f163c6a14206b (diff) | |
download | lwn-1104321a7b3bb670dc614ffa7958c553e7b3b836.tar.gz lwn-1104321a7b3bb670dc614ffa7958c553e7b3b836.zip |
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>
Diffstat (limited to 'mm/swap_state.c')
0 files changed, 0 insertions, 0 deletions