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)
commit6561f91d68e6f93cba91e64a3b9e0feba8b84fb8
treea1f9daa01b757194dad75c6dd8aaee574213d34d
parent09468b0392b1d2b079b334d60a23d7da8105dc53
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