diff options
| author | H Hartley Sweeten <[email protected]> | 2013-05-23 12:41:27 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-05-30 20:40:41 +0900 |
| commit | 00fbd2851428f2fa8cf0aaff6832f21fe4856c9c (patch) | |
| tree | f44e3dc173d2d51bbb31f51804b9ef8dc5a88b87 /tools/perf/scripts/python | |
| parent | 05d4c6f6289fdd9df7fd875ddf361af876419796 (diff) | |
staging: comedi: usbduxsigma: remove check of 'probed' in (*cancel) functions
The comedi_device private data variable 'probed' is set after the usb_driver
has completed its (*probe) before calling comedi_usb_auto_config(). That
function calls the comedi_driver (*auto_attach) which will set the
comedi_device 'private' variable and initialize the subdevices.
The subdevice (*cancel) functions can only be called after the (*auto_attach)
has completed successfully so the sanity checks of 'probed' are unnecessary.
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')
0 files changed, 0 insertions, 0 deletions