aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorH Hartley Sweeten <[email protected]>2015-08-10 13:14:02 -0700
committerGreg Kroah-Hartman <[email protected]>2015-08-14 18:35:49 -0700
commit6b3703f4cb763d57ab26f2ad262a30cc7f87093c (patch)
treefbd59690de303b0dc0c9f4e37d9ea3ebf317b694 /tools/perf/scripts/python
parent0bb6419ccf5b2548ade321d5337e9d3252a3d4a1 (diff)
staging: comedi: comedi_fops: remove BUG_ON() in comedi_cleanup()
The BUG_ON() checks in this function are not necessary. comedi_cleanup_board_minors() clears all the entries in the comedi_board_minor_table array and will call comedi_device_cleanup() for all attached devices. comedi_device_cleanup() will then clear the entries in the comedi_subdevice_minor_table array with comedi_free_subdevice_minor(). Remove the BUG_ON(), drivers should not crash the kernel. 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