From: H Hartley Sweeten Date: Thu, 23 May 2013 19:39:41 +0000 (-0700) Subject: staging: comedi: usbduxsigma: cleanup the unlink urb functions X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~484 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c3032a4e98ee85073c7acf801cc5de721ed1acf;p=pandora-kernel.git staging: comedi: usbduxsigma: cleanup the unlink urb functions These functions always return success. Change them to just return void. The 'usbduxsub_tmp', which is actually the comedi_device private data, is already validated by the callers. Remove the unnecessary validation and rename the 'usbduxsub_tmp' parameter to 'devpriv' which is more common in comedi drivers. Remove the unnecessary comments. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed