diff options
| author | Ian Abbott <[email protected]> | 2019-04-16 14:37:47 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-04-17 12:40:51 +0200 |
| commit | 4138b1d44f34703508a3d293011216557b6b5e68 (patch) | |
| tree | d638d3b6a118b218638af2b0228b62e75dcd9404 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 1598475c66514ce55b570b623d790172d02046f7 (diff) | |
staging: comedi: dyna_pci10xx: Don't bother configuring len_chanlist
In the Comedi "attach" and "auto_attach" handlers that set up the Comedi
subdevices, there is no need to initialize the `len_chanlist` member of
Comedi subdevices that do not support Comedi asynchronous streaming
commands. They can be left set to the initial zeroed out value and
the Comedi core will change the `len_chanlist` member to 1 afterwards in
that case. The "dyna_pci10xx" driver currently sets the `len_chanlist`
members to the same value as the `n_chan` ("number of channels") member,
but this is unnecessary as none of them support asynchronous streaming.
Remove the initialization of `len_chanlist` from all the subdevices.
This will affect the information reported by the COMEDI_SUBDINFO ioctl
slightly.
Signed-off-by: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions