serial: core: Unwrap tertiary assignment in uart_handle_dcd_change()
authorPeter Hurley <peter@hurleysoftware.com>
Tue, 2 Sep 2014 21:39:21 +0000 (17:39 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Sep 2014 23:23:36 +0000 (16:23 -0700)
commitc993257bf7571945201205491de86268437ea174
treec70807f1e766e748bf0bbc1c32dc31c30a70fcbf
parent5435d20f506f16352a4e1637b8e8fb7c0d422bb9
serial: core: Unwrap tertiary assignment in uart_handle_dcd_change()

Prepare for spin lock assertion; move non-trivial assignment into
function body.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial_core.c