diff options
| author | H Hartley Sweeten <[email protected]> | 2012-12-19 15:40:08 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-01-07 14:25:47 -0800 |
| commit | 5c87fef53cb338a919a18349facaf172c1f0cf75 (patch) | |
| tree | d837da94e391f0e5ea8cb166226b63a03438fa77 /tools/perf/scripts | |
| parent | ca081b1d7e2f355b54a6fa1e63f84b8ceb9597de (diff) | |
staging: comedi: comedi_fops: remove the goto's in comedi_read()
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')
0 files changed, 0 insertions, 0 deletions