]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit25374e9fcd0e461c741799d8b727bfa09cbdff7c
tree342a3ba26fbd21c99a212a02af32fcbd9a1cd49a
parent40033402d1abead2fd5c4dbc92266afd7160f460
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