]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: gdm724x: redundant variables idProduct and idVendor
authorColin Ian King <colin.king@canonical.com>
Wed, 11 Jul 2018 10:49:21 +0000 (11:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Jul 2018 11:12:34 +0000 (13:12 +0200)
commitd8353a75005d518293307b3da7c919b08a778864
treeed86652fedeebb30ddba64e2ab63170bb5bf4aae
parent5a2c3ebe749d91136e4fe7a6a51f10f2d0703665
staging: gdm724x: redundant variables idProduct and idVendor

Variable idProduct and idVendor are being assigned but are never used
hence they are redundant and can be removed.

Cleans up clang warnings:
warning: variable 'idProduct' set but not used [-Wunused-but-set-variable]
warning: variable 'idVendor' 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/staging/gdm724x/gdm_usb.c