]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: das16m1: remove unnecessary 'dev->irq' test
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 5 Dec 2013 20:43:27 +0000 (13:43 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Dec 2013 21:07:15 +0000 (13:07 -0800)
commitb70625c684529c80d9cff4b8e44afb34d5ee99de
treec7534e9d926b6affdeb1f469cf1818cac61f72a4
parent6f6e144d4d53e29a9f6487e4baed748f3fde1fa2
staging: comedi: das16m1: remove unnecessary 'dev->irq' test

This function can only be called if the irq was sucessfully requested.
The dev->irq will always be valid.

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