diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2011-03-06 10:59:03 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-07 13:52:57 -0800 |
commit | 5917def58ab9f5848f2d1da835a33a490d0c8c69 (patch) | |
tree | b1ebd52a24a1af94a7b70613933269dc02d54123 /drivers/staging/samsung-laptop | |
parent | 07ba111f0d5127d4c830799605e2cd0922611bf5 (diff) | |
download | blackbird-op-linux-5917def58ab9f5848f2d1da835a33a490d0c8c69.tar.gz blackbird-op-linux-5917def58ab9f5848f2d1da835a33a490d0c8c69.zip |
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 'drivers/staging/samsung-laptop')
0 files changed, 0 insertions, 0 deletions