Skip to contentSkip to conversation

Staging: rtl8192u: fix brace style coding issue in r819xU_firmware.c

PATCH New [email protected] 1 participant 2 messages Sep 4, 2014 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: rtl8192u: fix brace style coding issue in r819xU_firmware.c

From: Chaitra Ramaiah <[email protected]>

*** BLURB HERE ***

root (1):
Staging: rtl8192u: fix brace style coding issue in r819xU_firmware.c
This is a patch to the file r819xU_firmware.c that fixes a brace
warning found by checkpatch.pl tool

 drivers/staging/rtl8192u/r819xU_firmware.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 Staging: rtl8192u: fix brace style coding issue in r819xU_firmware.c This is a patch to the file r819xU_firmware.c that fixes a brace warning found by checkpatch.pl tool

From: root <root@admin1-Lenovo-IdeaPad-Y510P.(none)>

---
 drivers/staging/rtl8192u/r819xU_firmware.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/staging/rtl8192u/r819xU_firmware.c +2 -3
index 671cbe6..40e1ef5 100644
@@ -153,11 +153,10 @@ static bool CPUcheck_maincodeok_turnonCPU(struct net_device *dev)
 			break;
 	}while(check_bootOk_time--);
 
-	if (!(CPU_status&CPU_GEN_BOOT_RDY)) {
+	if (!(CPU_status&CPU_GEN_BOOT_RDY))
 		goto CPUCheckMainCodeOKAndTurnOnCPU_Fail;
-	} else {
+	else
 		RT_TRACE(COMP_FIRMWARE, "Download Firmware: Boot ready!\n");
-	}
 
 	return rt_status;
 
Signature · 1 line
1.7.9.5