commit | 0a3e518102b4a252dfcfe7d602d6e99e8c77d230 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Tue Nov 04 10:54:44 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Nov 07 09:34:02 2014 -0800 |
tree | b38f61588dddf81c41c20ec1bea0d0aba080de96 | |
parent | 6a51cfc62f523c70b000368b32cb46fa0d24f536 [diff] |
staging: comedi: addi_apci_3120: remove check in apci3120_setup_chan_list() The n_chan check is not needed. This value will always be >= 1. Remove the unnecessary check. For aesthetics, rename the function and change it's return type to void. 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>