[OPW,kernel,2/5] staging: vt6656: removal of braces under if-control statement
diff mbox

Message ID 1382035947-20202-2-git-send-email-nandu.hgowda@gmail.com
State Accepted
Headers show

Commit Message

nandini h Oct. 17, 2013, 6:52 p.m. UTC
Removed braces under if-else control flow statement whenever
there is only one statement under if-else control statement
to comply with linux coding style

Signed-off-by: Nandini Hanumanthagowda <nandu.hgowda@gmail.com>
---
 drivers/staging/vt6656/firmware.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Comments

Greg Kroah-Hartman Oct. 17, 2013, 8:35 p.m. UTC | #1
On Fri, Oct 18, 2013 at 12:22:24AM +0530, Nandini Hanumanthagowda wrote:
> Removed braces under if-else control flow statement whenever
> there is only one statement under if-else control statement
> to comply with linux coding style
> 
> Signed-off-by: Nandini Hanumanthagowda <nandu.hgowda@gmail.com>

Applied, thanks.

greg k-h

Patch
diff mbox

diff --git a/drivers/staging/vt6656/firmware.c b/drivers/staging/vt6656/firmware.c
index 2d7501b..52d4e96 100644
--- a/drivers/staging/vt6656/firmware.c
+++ b/drivers/staging/vt6656/firmware.c
@@ -108,11 +108,10 @@  int FIRMWAREbBrach2Sram(struct vnt_private *pDevice)
 					0x0000,
 					0,
 					NULL);
-	if (NdisStatus != STATUS_SUCCESS) {
+	if (NdisStatus != STATUS_SUCCESS)
 		return (false);
-	} else {
+	else
 		return (true);
-	}
 }
 
 int FIRMWAREbCheckVersion(struct vnt_private *pDevice)