diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-11-01 13:49:23 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-04 14:08:53 +0300 |
commit | 9356335faf9f65568dbdb9bba2a07117f69d34c5 (patch) | |
tree | f43b164b3f95c38d51278a21df1f0b02a75c4bd1 /include/ras | |
parent | 1be2266392196de82d1cfcc8a68e770cf8f48c60 (diff) | |
download | linux-9356335faf9f65568dbdb9bba2a07117f69d34c5.tar.xz |
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 'include/ras')
0 files changed, 0 insertions, 0 deletions