staging: comedi: ni_tio: remove some dead code
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 31 Jul 2014 09:29:18 +0000 (12:29 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Aug 2014 21:50:04 +0000 (14:50 -0700)
commit578dc59f20199c854507dd5f04839ffcaf655ce3
tree3be9653d7fead0c131729c2366a1a4d2129ef82e
parent1a4493c55594842fa75a91ba95c73056a29f25e6
staging: comedi: ni_tio: remove some dead code

These conditions can never be true because "i" is always one more than
NI_660X_MAX_RTSI_CHAN after the loop.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-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/ni_tio.c