]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4f07a751232a5bfa62642852fcda0f48847c5485
treec27a0d262cbf456524834f493f351e0f990a69e5
parentc34a8b37827407a18a537662895558df8fbc62b9
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