Staging: bcm: Alter code to move error handling closer to the calls.
authorKevin McKinney <klmckinney1@gmail.com>
Mon, 28 Nov 2011 01:51:46 +0000 (20:51 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 29 Nov 2011 01:09:52 +0000 (10:09 +0900)
commit8fbebb091a1695b8896597573c2d75831e41929a
tree342a3ba26fbd21c99a212a02af32fcbd9a1cd49a
parentfef5675ecbeb0c92d49c8b350e1324164bb348a5
Staging: bcm: Alter code to move error handling closer to the calls.

This is a cleanup patch. I've shuffled the code around to
move the error handling closer to the calls. I've removed
some indent levels. I've replaced break statements with
direct returns.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/bcm/Bcmchar.c