From: H Hartley Sweeten Date: Tue, 14 Oct 2014 19:14:39 +0000 (-0700) Subject: staging: comedi: usbduxfast: introduce usbduxfast_ai_handle_urb() X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~825 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c88f9f48c6fcf31aeda755b723befad642150ca;p=pandora-kernel.git staging: comedi: usbduxfast: introduce usbduxfast_ai_handle_urb() Factor the urb handling and resubmit out of the completion handler and tidy it up. This allows a common exit path to be used in the completion handler to stop the async command and handle the events. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Reviewed-by: Bernd Porr Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed