USB: adutux: NULL dereferences on disconnect
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 26 Nov 2014 14:06:49 +0000 (17:06 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Nov 2014 03:50:15 +0000 (19:50 -0800)
commitfc625960edecfb57e62c2975d1f155155e28e6ba
tree024d1d6ceabafec699b5328d4791ea08f54248fc
parent67c3c5e28e9bc1dd244829ba7eac8a446da96ff3
USB: adutux: NULL dereferences on disconnect

Both "dev->udev" and "interface->dev" are NULL.  These printks are not
very interesting so I just deleted them.

Fixes: 03270634e242 ('USB: Add ADU support for Ontrak ADU devices')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/adutux.c