staging: comedi: usbduxsigma: move urb unlink into usbduxsigma_detach()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 30 Jul 2013 00:47:26 +0000 (17:47 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Aug 2013 00:44:59 +0000 (17:44 -0700)
commit71d7e1ee2c5505ffd2055eb36ab983e9cb52d5b7
tree1e155ad523a1e5719289a0361b3fab2336abbd6b
parent1c379e94b38d5e575643212e6890de6a3380e6fe
staging: comedi: usbduxsigma: move urb unlink into usbduxsigma_detach()

For aesthetics, move the final force unlink of the urbs from
usbduxsigma_free_usb_buffers() to usbduxsigma_detach().

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>
drivers/staging/comedi/drivers/usbduxsigma.c