diff options
| author | H Hartley Sweeten <[email protected]> | 2012-12-19 15:40:34 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-01-07 14:25:48 -0800 |
| commit | 2714b019fd570309e9a4cab2b988cbb7a36bbecd (patch) | |
| tree | 4f932aae850fedb20cee23086b3a514102abac18 /tools/perf/scripts/python | |
| parent | 5c87fef53cb338a919a18349facaf172c1f0cf75 (diff) | |
staging: comedi: comedi_fops: remove the goto's in comedi_write()
Use comedi_dev_from_minor() to simplify the return -ENODEV tests.
Cleanup the sanity checking a bit and remove the need for the goto's
when returning an initial error condition.
Signed-off-by: H Hartley Sweeten <[email protected]>
Cc: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions