diff options
| author | Ian Abbott <[email protected]> | 2017-02-17 11:09:13 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-03-06 09:16:58 +0100 |
| commit | 67aa069d9354299cfdd45d6a6287f593e7258f33 (patch) | |
| tree | 7ffb4403a327835f5efe33394a740cdc5aa129e7 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 048ad49af32fe910259bc5f1a49f464b63a03029 (diff) | |
staging: comedi: jr3_pci: remove unneeded 'spriv' checks
If `jr3_pci_auto_attach()` returns with no error, we can now be sure
that the COMEDI subdevice private data structures have been allocated.
Remove the tests for a valid pointer to the private data structure in
`jr3_pci_ai_insn_read()`, `jr3_pci_open()`, and
`jr3_pci_poll_subdevice()`, since they will not be called if the pointer
is invalid.
Signed-off-by: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions