diff options
| author | H Hartley Sweeten <[email protected]> | 2013-05-23 12:42:42 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-05-30 20:40:42 +0900 |
| commit | c61454e19ab327f769221f1752b59322853d8716 (patch) | |
| tree | cd0027de1f56edd22e270be2bc909f7a590411c4 /tools/perf/scripts/python | |
| parent | eac456c82376f6592b2fb8dd6f76d230bf24476e (diff) | |
staging: comedi: usbduxsigma: use usbdux_ai_stop() to force unlink all urbs
In tidy_up(), instead of duplicating the code in usbdux_ai_stop() to unlink
all the input urbs, just use usbdux_ai_stop(). Since that function calls
usb_kill_urb() for all the urbs and clears the 'ai_cmd_running' flag, we
can also remove the redundant code in tidy_up().
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