commit | 78c7a4a6592cde3e2ecba1732727d3ed3866a653 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Mon Jul 28 10:27:02 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jul 30 16:51:00 2014 -0700 |
tree | 48da886eb1045205fbd4404ae32ff055711bcf78 | |
parent | 65dbae525fc1e6b5c2cd09e1fc700a7d80b3577d [diff] |
staging: comedi: ni_tiocmd: tidy up ni_tio_input_inttrig() Remove the BUG_ON(counter == NULL). If this can never happen and it if did the driver should have died long before this function is called. For aesthetics, rename the local variable 'retval' to simply 'ret'. 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>