commit | ed023d529ce44c0e3c41101a344d80259bd96443 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Mon Feb 23 14:57:59 2015 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Mar 01 18:51:52 2015 -0800 |
tree | fcd5af2ec45f877f9e57939a6a1789a92a0f13dc | |
parent | fdb7c3ece29fc4d73e5994af6a58b4e3d55d105c [diff] |
staging: comedi: amplc_dio200_common: remove unnecessary 'counter_number' checks The 'counter_number' in these functions is the comedi channel number from the chanspec. The comedi core validates the chanspec before calling the driver functions. Remove the unnecessary checks. 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>