Input: alps - remove redundant assignment to variable ret
authorColin Ian King <colin.king@canonical.com>
Thu, 6 Aug 2020 22:35:17 +0000 (15:35 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 7 Aug 2020 00:33:41 +0000 (17:33 -0700)
commit47fcd0f969e98c4a82a12efb956c6f8d39aa918a
treef5579fa191e6e425f70552bf3159d4847291bdb2
parentd431b9e6af1903e112f5f773a0137be4fe5b17e8
Input: alps - remove redundant assignment to variable ret

The variable ret 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.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20200603135742.130852-1-colin.king@canonical.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/alps.c