]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
staging: comedi: remove comedi_clear_minor()
authorIan Abbott <abbotti@mev.co.uk>
Thu, 4 Apr 2013 13:59:05 +0000 (14:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Apr 2013 21:33:19 +0000 (14:33 -0700)
commitea1cc3973a6f3832956d99f74b20970a4e71bd37
tree2a347cbc8585759cf16d2c704ba58989e434f6d9
parent5b7dba1bdda5b5864b61d28e32f860510e9a660f
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>
drivers/staging/comedi/comedi_fops.c