diff options
author | 2017-11-01 10:49:23 +0000 | |
---|---|---|
committer | 2017-11-04 12:08:53 +0100 | |
commit | 9356335faf9f65568dbdb9bba2a07117f69d34c5 (patch) | |
tree | f43b164b3f95c38d51278a21df1f0b02a75c4bd1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | serial: sh-sci: Fix unlocked access to SCSCR register (diff) | |
download | wireguard-linux-9356335faf9f65568dbdb9bba2a07117f69d34c5.tar.xz wireguard-linux-9356335faf9f65568dbdb9bba2a07117f69d34c5.zip |
serial: core: remove redundant assignment to port
The final assignment to port is never read, hence it is redundant
and can be removed. Also move the declaration of port to a more
local scope. Cleans up clang warning:
drivers/tty/serial/serial_core.c:1498:2: warning: Value stored
to 'port' is never read
Signed-off-by: Colin Ian King <colin.king@canonical.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