summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2015-10-08 00:52:40 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-13 08:56:42 +0300
commitf9405655029390a58a7ad586541c830687196d78 (patch)
tree635367526007d58510b64f396cbafbcebab02b2d /include/linux
parentfc7680d11b874addb345d682d927b7768534998d (diff)
downloadlinux-f9405655029390a58a7ad586541c830687196d78.tar.xz
staging: comedi: icp_multi: absorb setup_channel_list()
This function is only called in one place and the 'n_chan' parameter is always 1. This makes the for() loop a bit silly. Absorb the function into the caller and simplify the code. This also removes the need for the private data member 'AdcCmdStatus'. 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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions