tty/isicom: remove redundant assignment to variable word_count
authorColin Ian King <colin.king@canonical.com>
Tue, 23 Jul 2019 15:03:14 +0000 (16:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Sep 2019 10:43:44 +0000 (12:43 +0200)
commit95604220cec8eb5bcde9041625ae8570f1077da6
tree343a7688956ad96134f5959b0e1704319fba6418
parent0998a63b493b8591bea9e81144f8ed05e0a92cef
tty/isicom: remove redundant assignment to variable word_count

The variable word_count is being assigned a value that is never read before
a return, the assignment is redundant and can be removed.

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/20190723150314.14513-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/isicom.c