diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2014-05-27 10:31:06 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-28 14:28:55 -0700 |
commit | 35a51030995157dc03142ae6f9e17741b0224beb (patch) | |
tree | cae7aa3303f13f9918d620ec4d5812c307fed53a /fs | |
parent | 3ba01fe6188196be85d0a384395c7b5a0f4b8546 (diff) |
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 'fs')
0 files changed, 0 insertions, 0 deletions