diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2015-02-24 22:25:03 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-26 18:14:27 +0300 |
commit | 5db496b9c808270e9e569fa721d1ecdd8f145142 (patch) | |
tree | fc236ce7735470dca8e0c5574af080fa2e6c2455 /drivers/tty/serial/8250/8250.h | |
parent | e6e98ceff34d398ca98b78f90966b6b90f668b68 (diff) | |
download | linux-5db496b9c808270e9e569fa721d1ecdd8f145142.tar.xz |
serial: 8250: Simplify capabilities reset at port unregister
Since uart->port.type has just reset to PORT_UNKNOWN, capabilities
are reset to uart_config[PORT_UNKNOWN].flags, which is 0.
Removes unnecessary dependency on uart_config[].
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/8250/8250.h')
0 files changed, 0 insertions, 0 deletions