diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2011-03-06 03:59:03 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-07 16:52:57 -0500 |
commit | 5917def58ab9f5848f2d1da835a33a490d0c8c69 (patch) | |
tree | b1ebd52a24a1af94a7b70613933269dc02d54123 /Documentation/serial-console.txt | |
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 <error27@gmail.com>
Cc: Mike Thomas <rmthomas@sciolus.org>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/serial-console.txt')
0 files changed, 0 insertions, 0 deletions