diff options
author | Colin Ian King <colin.king@canonical.com> | 2020-04-05 14:54:23 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-16 16:12:34 +0200 |
commit | cd9479a16720a6a38b3b614d2adece2413aebefc (patch) | |
tree | bb0781eb83190d83dc092681e680a31cadc32cf6 /drivers/scsi/zorro7xx.c | |
parent | 810bc0a5fafb8575b9406fcc8b0be77ff93a7be0 (diff) | |
download | linux-cd9479a16720a6a38b3b614d2adece2413aebefc.tar.bz2 |
drivers/tty: remove redundant assignment to variable i and rename it to ret
The variable i is being assigned a value that is never read
and it is being updated later with a new value. The assignment
is redundant and can be removed. Also rename i to ret as this new
name makes makes more sense.
Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20200405135423.383466-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi/zorro7xx.c')
0 files changed, 0 insertions, 0 deletions