diff options
| author | H Hartley Sweeten <[email protected]> | 2016-04-14 09:57:49 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-04-28 22:17:28 -0700 |
| commit | bf2388b1eab18018cb469c7c55b837b1da911043 (patch) | |
| tree | f4b3cae261191b311e41b28b93e617e6863c6f8a /tools/perf/scripts/python | |
| parent | 098353038bedf133860c5457488a895bd1de00c1 (diff) | |
staging: comedi: ni_mio_common: remove some unnecessary BUG_ON()
The mite dma channels are only requested by a subdevice with a (*do_cmd)
and they are released by a (*cancel). The comedi core will only call the
(*do_cmd) if the subdevice is not already running a command and all
commands are terminated by the core with a (*cancel).
Remove the BUG_ON() checks in the request functions which can never
happen.
Signed-off-by: H Hartley Sweeten <[email protected]>
Reviewed-by: 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