diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-11-02 14:01:44 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-04 12:08:53 +0100 |
commit | 5de15cc2526132440415209e12633636e206d531 (patch) | |
tree | 71e2a287ab5235c7cf251103a25398d6fb180d3e /block/blk-stat.c | |
parent | e7e51dcf3b8a5f65c5653a054ad57eb2492a90d0 (diff) | |
download | talos-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 'block/blk-stat.c')
0 files changed, 0 insertions, 0 deletions