staging: comedi: amplc_dio200_common: return void from dio200_start_intr()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 9 Sep 2014 23:15:37 +0000 (16:15 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Sep 2014 21:35:20 +0000 (14:35 -0700)
commit157a340d1ff490c346e6ea02eaa21510432ac092
treec27a0d262cbf456524834f493f351e0f990a69e5
parent06f55bb778390f5adbaa21c554505b3a4d27ff38
staging: comedi: amplc_dio200_common: return void from dio200_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/amplc_dio200_common.c