staging: comedi: das16: remove unnecessary test in das16_interrupt()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 29 Jul 2013 21:03:11 +0000 (14:03 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Aug 2013 00:37:56 +0000 (17:37 -0700)
commitb65daeef1d2401a18ecdcc73fa8f263cb64cdd5d
treee5076e60be4958b3d6b06a1a6e9c28916a993ea2
parent372f3bb949482c6f0a53c03942d6def634fc2804
staging: comedi: das16: remove unnecessary test in das16_interrupt()

The timer is only started by the ai subdevice in das16_cmd_exec()
and this function can only be called if the device is attached.

Remove the unnecessary sanity check.

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/das16.c