Browse Source

staging: vt6656: removed unnecessary parentheses in return statement

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Nandini Hanumanthagowda 12 năm trước cách đây
mục cha
commit
5a69f36db3
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      drivers/staging/vt6656/firmware.c

+ 2 - 2
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)