commit | 4d9861b554bc08e72045098dbc03d8221d904490 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Mon Jul 29 17:48:04 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jul 31 17:45:00 2013 -0700 |
tree | e8485908d7f86b716b9d0a06ee17cf539291c8eb | |
parent | 1da439008e972ad3dfceca8a9ff4950db20f3528 [diff] |
staging: comedi: usbdux: tidy up usbdux_detach() Make sure the usb intfdata is always cleared when the device is detached. Refactor the code to remove an indent level. Always unlink the urbs when the device is detached. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>