diff options
| author | Tomas Winkler <[email protected]> | 2011-03-06 10:59:03 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2011-03-07 13:52:57 -0800 |
| commit | 5917def58ab9f5848f2d1da835a33a490d0c8c69 (patch) | |
| tree | b1ebd52a24a1af94a7b70613933269dc02d54123 /tools/perf/scripts/python | |
| parent | 07ba111f0d5127d4c830799605e2cd0922611bf5 (diff) | |
staging/easycap: reduce code nesting in easycap_sound.c
Reshuffle error handling to reduce indentation nesting
This reduce number of lines exceeding 80 characters
from 41 to 15
use:
if (error)
(return, goto, continue)
CODE
instead of:
if (good)
<CODE>
else
<EXCEPTION HANDLING>
Cc: Dan Carpenter <[email protected]>
Cc: Mike Thomas <[email protected]>
Signed-off-by: Tomas Winkler <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions