From: H Hartley Sweeten Date: Tue, 14 May 2013 20:38:21 +0000 (-0700) Subject: staging: comedi: usbduxfast: tidy up usbduxfast_ai_stop() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~645 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32fa46b9e9efaceac3d6c009d33065da82f79732;p=pandora-kernel.git staging: comedi: usbduxfast: tidy up usbduxfast_ai_stop() Remove the devpriv sanity check, all the callers have previously verified that its valid. Absorb usbduxfast_unlink_urbs() into this function since it's the only caller and the only thing it does is call usb_kill_urb(). This function will always succeed so just return 0 and remove the local variable 'ret'. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed