]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: bcm: Alter code to move error handling closer to the calls; and remove white...
authorKevin McKinney <klmckinney1@gmail.com>
Fri, 2 Dec 2011 03:02:16 +0000 (22:02 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Dec 2011 20:42:16 +0000 (12:42 -0800)
commit39592ad3d3239a21073d6d5f56b6d13b5659cd37
treea1f9daa01b757194dad75c6dd8aaee574213d34d
parent289b1523c95f4d2ad271b0fb2a1887c0361a8810
Staging: bcm: Alter code to move error handling closer to the calls; and remove white space, IOCTL_BCM_NVM_WRITE.

This is a clean up patch for IOCTL_BCM_NVM_WRITE
that replaces the assignment of the Status
variable with direct returns of the error code,
replaces the break statements with direct returns,
and removes a white space.

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