diff options
| author | Ian Abbott <[email protected]> | 2017-06-16 19:35:35 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-06-24 00:37:07 +0800 |
| commit | 125178d1ebd6d76a5fb152cfb3cd50a3316cf3ba (patch) | |
| tree | f3f8409d2baa88be0773428354edf0b4ca3bf80d /tools/perf/scripts/python/netdev-times.py | |
| parent | a9332e9ad09c2644c99058fcf6ae2f355e93ce74 (diff) | |
staging: comedi: use centralized error clean-up in comedi_init()
Centralize the "clean-up on error" handling in `comedi_init()` using
`goto` statements. Also change some of the explicit `-EIO` return
values to the error return values from the failing functions as there is
no good reason to use `-EIO` explicitly.
Signed-off-by: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions