Skip to contentSkip to conversation

staging: rtl8192e: remove brace for single statement

PATCH In review [email protected] 2 participants 3 messages Jun 9, 2018 – Jun 16, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 staging: rtl8192e: remove brace for single statement

* fix checkpatch.pl warning:
WARNING: braces { are not necessary for single statement blocks

---
 drivers/staging/rtl8192e/rtllib_softmac.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/rtl8192e/rtllib_softmac.c +1 -2
index 919231f..d172e87 100644
@@ -1355,9 +1355,8 @@ rtllib_association_req(struct rtllib_network *beacon,
 		rtllib_WMM_Info(ieee, &tag);
 	}
 
-	if (wps_ie_len && ieee->wps_ie) {
+	if (wps_ie_len && ieee->wps_ie)
 		skb_put_data(skb, ieee->wps_ie, wps_ie_len);
-	}
 
 	if (turbo_info_len) {
 		tag = skb_put(skb, turbo_info_len);
Signature · 1 line
2.7.4
maintainer
#1 lore raw
Quoted 4 lines · On Sat, Jun 09, 2018 at 03:05:56PM +0900, [email protected] wrote:

* fix checkpatch.pl warning:
WARNING: braces { are not necessary for single statement blocks

This does not match your "From:" line in your email headers :(

author
#2 lore raw

Thanks greg.
Let me check and send again
regards
Hyunil Kim

Quoted 8 lines · Greg KH
Quoted 4 lines · On Sat, Jun 09, 2018 at 03:05:56PM +0900, [email protected] wrote:

* fix checkpatch.pl warning:
WARNING: braces { are not necessary for single statement blocks

This does not match your "From:" line in your email headers :(