summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2014-05-27 21:31:13 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-29 01:28:56 +0400
commit71cf2b4aaa1c1055ade82917972832f70180cfcb (patch)
treebeaaacbf1909e62d360dfd64d6923d2be61aaec3 /scripts/gdb/linux/utils.py
parent42e21c974377e2188888d88b2cf2d3c95033d9d7 (diff)
downloadlinux-71cf2b4aaa1c1055ade82917972832f70180cfcb.tar.xz
staging: comedi: usbduxfast: remove unreachable code in usbduxfast_ai_cmd()
The (*do_cmdtest) validates that the 'stop_arg' is >= 1 for a 'stop_src' of TRIG_COUNT and the 'scan_end_arg' is validated to be the 'chanlist_len' which will always be >= 1. Remove the unreachable error code for an 'ai_sample_count < 1'. 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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions