From: H Hartley Sweeten Date: Thu, 23 May 2013 19:43:35 +0000 (-0700) Subject: staging: comedi: usbduxsigma: use usbdux_ao_stop() to force unlink all urbs X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~477 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc29c6fa5e5b3f18b29a4c552ea4f67376ebf2cd;p=pandora-kernel.git 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 Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed