summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2014-05-27 21:31:06 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-29 01:28:55 +0400
commit35a51030995157dc03142ae6f9e17741b0224beb (patch)
treecae7aa3303f13f9918d620ec4d5812c307fed53a /scripts/gdb/linux/utils.py
parent3ba01fe6188196be85d0a384395c7b5a0f4b8546 (diff)
downloadlinux-35a51030995157dc03142ae6f9e17741b0224beb.tar.xz
staging: comedi: amplc_pci224: use cfc_bytes_per_scan()
The cmd->chanlist_len will always be >= 1 in this function. Remove the unnecessary checks. Use the comedi_fc helper function to get the 'bytes_per_scan'. 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