USB: legousbtower.c: remove a bogus NULL check
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 20 Jul 2012 07:10:19 +0000 (10:10 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Aug 2012 22:17:39 +0000 (15:17 -0700)
commit644034c21209feaddd6d584669ffb40561525d18
tree5f8048b48340ce831a6651c12d19ce36682cf56e
parent4d9e4088e074e674bc7a9fef4381e0910323c649
USB: legousbtower.c: remove a bogus NULL check

"udev" can't be NULL here.  The debugging printk() makes static checkers
complain when we dereference it later in the function inside the call to
usb_rcvctrlpipe().

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/legousbtower.c