commit | ea1cc3973a6f3832956d99f74b20970a4e71bd37 | [log] [tgz] |
---|---|---|
author | Ian Abbott <abbotti@mev.co.uk> | Thu Apr 04 14:59:05 2013 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Apr 05 14:33:19 2013 -0700 |
tree | 2a347cbc8585759cf16d2c704ba58989e434f6d9 | |
parent | 5b7dba1bdda5b5864b61d28e32f860510e9a660f [diff] |
staging: comedi: remove comedi_clear_minor() `comedi_clear_minor()` calls either `comedi_clear_board_minor()` or `comedi_clear_subdevice_minor()` depending on its minor device number parameter. The one it calls only depends on where it is called from, so bypass the calls to `comedi_clear_minor()` and remove it. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>