OSDN Git Service

USB: adutux: remove redundant variable minor
authorColin Ian King <colin.king@canonical.com>
Tue, 7 Nov 2017 11:45:27 +0000 (11:45 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2019 20:40:59 +0000 (13:40 -0700)
commitd5b8fadb2a057abb735863aa9a5403c6c28ed042
tree617f147e7e929eb2f85ba717a43b65106c117a36
parent557b03eb449184ce0e182c585e8838441bde2049
USB: adutux: remove redundant variable minor

commit 8444efc4a052332d643ed5c8aebcca148c7de032 upstream.

Variable minor is being assigned but never read, hence it is redundant
and can be removed. Cleans up clang warning:

drivers/usb/misc/adutux.c:770:2: warning: Value stored to 'minor' is
never read

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