summaryrefslogtreecommitdiffstats
path: root/samples/sockmap
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-11-02 14:01:44 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-04 12:08:53 +0100
commit5de15cc2526132440415209e12633636e206d531 (patch)
tree71e2a287ab5235c7cf251103a25398d6fb180d3e /samples/sockmap
parente7e51dcf3b8a5f65c5653a054ad57eb2492a90d0 (diff)
downloadtalos-op-linux-5de15cc2526132440415209e12633636e206d531.tar.gz
talos-op-linux-5de15cc2526132440415209e12633636e206d531.zip
tty: max3100: remove unused variable rts and remove unused assignment
Variable rts is being assigned but it is never read, hence it can be removed. The assignment to param_new to zero is redundant as it is being updates a few statements later, so remove this redundant assignment. Cleans up two clang warnings: drivers/tty/serial/max3100.c:277:3: warning: Value stored to 'rts' is never read drivers/tty/serial/max3100.c:439:2: warning: Value stored to 'param_new' 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 'samples/sockmap')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud