diff options
| author | 2013-05-23 12:42:01 -0700 | |
|---|---|---|
| committer | 2013-05-30 20:40:41 +0900 | |
| commit | eac456c82376f6592b2fb8dd6f76d230bf24476e (patch) | |
| tree | 01e683d5e1b04300b00fae11b93c92337c402671 /scripts/patch-kernel | |
| parent | staging: 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/patch-kernel')
0 files changed, 0 insertions, 0 deletions
