misc: ti-st: remove redundant variable 'type'
authorColin Ian King <colin.king@canonical.com>
Tue, 3 Jul 2018 07:32:49 +0000 (08:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Jul 2018 11:01:48 +0000 (13:01 +0200)
commit53e44782e2302f6483b34539f0c3efbf5c6f9f37
treee5c07ff08ee1059d182b363fb6cd48345b7472a6
parentaa8998e57640c98ce0c53c1dfc7a8e990adfffa4
misc: ti-st: remove redundant variable 'type'

Variable type is being assigned but is never used hence it is
redundant and can be removed.

Cleans up clang warning:
warning: variable 'type' set but not used [-Wunused-but-set-variable]

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/ti-st/st_kim.c