aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorH Hartley Sweeten <[email protected]>2013-05-23 12:42:01 -0700
committerGreg Kroah-Hartman <[email protected]>2013-05-30 20:40:41 +0900
commiteac456c82376f6592b2fb8dd6f76d230bf24476e (patch)
tree01e683d5e1b04300b00fae11b93c92337c402671 /tools/perf/scripts/python
parent00fbd2851428f2fa8cf0aaff6832f21fe4856c9c (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 <[email protected]> Cc: Ian Abbott <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions