[OPW,kernel,3/5] staging: vt6656: removed unnecessary parentheses in return statement
diff mbox

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

Commit Message

nandini h Oct. 17, 2013, 6:52 p.m. UTC
There was parentheses around return statement's value which
was not required since return statement is not a function.
Hence removed the parentheses to eliminate the checkpatch error
which states:
	ERROR: return is not a function, parentheses are not required

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

Comments

Greg KH Oct. 17, 2013, 8:35 p.m. UTC | #1
On Fri, Oct 18, 2013 at 12:22:25AM +0530, Nandini Hanumanthagowda wrote:
> There was parentheses around return statement's value which
> was not required since return statement is not a function.
> Hence removed the parentheses to eliminate the checkpatch error
> which states:
> 	ERROR: return is not a function, parentheses are not required
> 
> 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 52d4e96..c38c45e 100644
--- a/drivers/staging/vt6656/firmware.c
+++ b/drivers/staging/vt6656/firmware.c
@@ -109,9 +109,9 @@  int FIRMWAREbBrach2Sram(struct vnt_private *pDevice)
 					0,
 					NULL);
 	if (NdisStatus != STATUS_SUCCESS)
-		return (false);
+		return false;
 	else
-		return (true);
+		return true;
 }
 
 int FIRMWAREbCheckVersion(struct vnt_private *pDevice)