aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-05-23 12:42:01 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-30 20:40:41 +0900
commiteac456c82376f6592b2fb8dd6f76d230bf24476e (patch)
tree01e683d5e1b04300b00fae11b93c92337c402671 /scripts
parentstaging: comedi: usbduxsigma: remove check of 'probed' in (*cancel) functions (diff)
staging: comedi: usbduxsigma: cleanup the (*cancel) functions
The (*cancel) functions can only be called by the comedi core it the (*auto_attach) completed successfully. That function sets the comedi_device 'private' variable before initializing the callbacks so the sanity checks are unnecessary. Remove them. Also, rename the 'this_usbduxsub' local variable to 'devpriv' as this is more common in comedi drivers. Remove the unnecessary comments. 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