diff options
author | 2016-11-24 14:18:55 +0200 | |
---|---|---|
committer | 2016-11-28 08:29:34 +0100 | |
commit | ef510bea5f6c16663428d914699935bdd7913de8 (patch) | |
tree | 41fe7486117b40f78d795a73a1f3236cab1493ac /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mxs-auart: count FIFO overrun errors (diff) | |
download | wireguard-linux-ef510bea5f6c16663428d914699935bdd7913de8.tar.xz wireguard-linux-ef510bea5f6c16663428d914699935bdd7913de8.zip |
serial: core: don't check port twice in a row
There is no need to check port for NULL in uart_port_deref() since we call it
only when port is defined.
There are few places that violate this. Fix them here as well.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions