staging: comedi: pcmuio: return void from pcmuio_start_intr()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 9 Sep 2014 23:15:59 +0000 (16:15 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Sep 2014 21:35:21 +0000 (14:35 -0700)
commit1e2e39effd11ca7c09cc47aff9e99d976109bbe8
tree33f15c87114356d794243ba2b93a90b5c3dc7081
parent8e7fed7ed760275c3e8e73e4328751fcb8f21642
staging: comedi: pcmuio: return void from pcmuio_start_intr()

This function always returns '0' so the comedi_event() is never done by the
callers.

Change the return type to void and remove the comedi_event() dead code.

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>
drivers/staging/comedi/drivers/pcmuio.c