diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-11-01 10:49:23 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-04 12:08:53 +0100 |
commit | 9356335faf9f65568dbdb9bba2a07117f69d34c5 (patch) | |
tree | f43b164b3f95c38d51278a21df1f0b02a75c4bd1 /drivers/tty/serial/sccnxp.c | |
parent | 1be2266392196de82d1cfcc8a68e770cf8f48c60 (diff) |
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 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions