diff options
| author | H Hartley Sweeten <[email protected]> | 2015-08-10 13:14:03 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-08-14 18:35:49 -0700 |
| commit | 0bb6419ccf5b2548ade321d5337e9d3252a3d4a1 (patch) | |
| tree | f021bdbd8fe9912155f555075c0c22c3a3b12290 /tools/perf/scripts/python | |
| parent | 5babc1bc4d18f780200e3a794d2d553c6684554c (diff) | |
staging: comedi: comedi_fops: remove remaining BUG_ON() checks
The BUG_ON() checks in comedi_subdevice_from_minor() and
comedi_dev_get_from_subdevice_minor() are not necessary.
The 'minor' numbers for a given comedi driver are setup by
comedi_dev_get_from_subdevice_minor() and will always be in
the correct range.
Drivers should not crash the kernel, remove the BUG_ON() checks.
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