aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorH Hartley Sweeten <[email protected]>2013-05-23 12:47:19 -0700
committerGreg Kroah-Hartman <[email protected]>2013-05-30 20:40:46 +0900
commit990a049d8b527a3cdb90905306919fc1f38e6fd7 (patch)
tree250ee4b76cbf948dcad38045935c623709c3fd79 /tools/perf/scripts/python/event_analyzing_sample.py
parentde0a1e971f86e529bd0e1d6f3ac33bbc9830272f (diff)
staging: comedi: usbduxsigma: remove 'probed' checks in comedi functions
The 'probed' flag in the private data is used by the usb_driver (*probe) function to find a free entry in the static usbduxsub array to use for the comedi_device private data. The (*probe) sets this flag before it hands off the probe to the comedi_driver (*auto_attach). The 'probed' flag is cleared in tidy_up() are part of the usb_driver (*disconnect), which calls the comedi_driver (*detach). The 'probed' flag will always be set if the comedi_driver (*auto_attach) completes successfully. The extra sanity checks in the comedi functions are not needed. Remove them. 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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions