diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2015-08-10 13:13:59 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-08-14 18:35:49 -0700 |
commit | 2be8ae5898af956560e9f722b327add05574a1f7 (patch) | |
tree | 9197726469cfbcfba0de814043f9639a12c210fc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c4237a2b59432a6ebf73f813ad9e94ab408bb8f1 (diff) |
staging: comedi: comedi_fops: absorb comedi_free_board_minor()
This function is only called by comedi_cleanup_board_minors() and the
'minor' parameter will always be < COMEDI_NUM_BOARD_MINORS.
For aesthetics, absorb the function and remove the unnecessary BUG_ON().
Split the comedi_clear_board_minor() out to clarify that the return value
is a comedi_device pointer.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions