diff options
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/misc/adutux.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/usb/misc/adutux.c b/drivers/usb/misc/adutux.c index 493c7f268b6f..3071c0ef909b 100644 --- a/drivers/usb/misc/adutux.c +++ b/drivers/usb/misc/adutux.c | |||
@@ -814,15 +814,10 @@ static void adu_disconnect(struct usb_interface *interface) | |||
814 | usb_set_intfdata(interface, NULL); | 814 | usb_set_intfdata(interface, NULL); |
815 | 815 | ||
816 | /* if the device is not opened, then we clean up right now */ | 816 | /* if the device is not opened, then we clean up right now */ |
817 | dev_dbg(&dev->udev->dev, "%s : open count %d\n", | ||
818 | __func__, dev->open_count); | ||
819 | if (!dev->open_count) | 817 | if (!dev->open_count) |
820 | adu_delete(dev); | 818 | adu_delete(dev); |
821 | 819 | ||
822 | mutex_unlock(&adutux_mutex); | 820 | mutex_unlock(&adutux_mutex); |
823 | |||
824 | dev_info(&interface->dev, "ADU device adutux%d now disconnected\n", | ||
825 | (minor - ADU_MINOR_BASE)); | ||
826 | } | 821 | } |
827 | 822 | ||
828 | /* usb specific object needed to register this driver with the usb subsystem */ | 823 | /* usb specific object needed to register this driver with the usb subsystem */ |