aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-05-23 12:43:35 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-30 20:40:43 +0900
commitdc29c6fa5e5b3f18b29a4c552ea4f67376ebf2cd (patch)
tree08cc74017c904e4677792b9445a82db638c79045 /scripts
parentstaging: comedi: usbduxsigma: absorb usbduxsub_unlink_InURBs() into caller (diff)
staging: comedi: usbduxsigma: use usbdux_ao_stop() to force unlink all urbs
In tidy_up(), instead of duplicating the code in usbdux_ao_stop() to unlink all the output urbs, just use usbdux_ao_stop(). Since that function calls usb_kill_urb() for all the urbs and clears the 'ao_cmd_running' flag, we can also remove the redundant code in tidy_up(). Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions