]> git.baikalelectronics.ru Git - kernel.git/commit
tty: synclink_gt: remove redundant initialization of variable count
authorColin Ian King <colin.king@canonical.com>
Tue, 20 Apr 2021 10:57:18 +0000 (11:57 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Apr 2021 10:01:59 +0000 (12:01 +0200)
commitf6b595ce157e7887ebc08a55767e83e00853ce4f
treed2616835da7681a4c1bbb02a3a5fc24a592fb3ce
parent82c9d8b5cab4762d60c21995c07074474629e548
tty: synclink_gt: remove redundant initialization of variable count

The variable count is being initialized with a value that is
never read and it is being updated later with a new value.  The
initialization is redundant and can be removed.

Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Addresses-Coverity: ("Unused value")
Link: https://lore.kernel.org/r/20210420105718.377086-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/synclink_gt.c