Skip to contentSkip to conversation

Staging: rtl8192u: ieee80211: ieee80211_module.c: fix style issue

PATCH In review Riccardo Marotti 1 participant 2 messages May 7, 2017 – May 8, 2017 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: rtl8192u: ieee80211: ieee80211_module.c: fix style issue

From: Riccardo <[email protected]>

Fixed a brace coding style issue, found via checkpatch.

---
 drivers/staging/rtl8192u/ieee80211/ieee80211_module.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/rtl8192u/ieee80211/ieee80211_module.c +1 -2
index a791175b86f5..8f236b332a47 100644
@@ -157,8 +157,7 @@ struct net_device *alloc_ieee80211(int sizeof_priv)
 	ieee80211_softmac_init(ieee);
 
 	ieee->pHTInfo = kzalloc(sizeof(RT_HIGH_THROUGHPUT), GFP_KERNEL);
-	if (ieee->pHTInfo == NULL)
-	{
+	if (ieee->pHTInfo == NULL) {
 		IEEE80211_DEBUG(IEEE80211_DL_ERR, "can't alloc memory for HTInfo\n");
 		goto failed;
 	}
Signature · 1 line
2.12.2
#1 lore raw
Quoted 15 lines · Riccardo Marotti

From: Riccardo <[email protected]>

Fixed a brace coding style issue, found via checkpatch.

---
 drivers/staging/rtl8192u/ieee80211/ieee80211_module.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/rtl8192u/ieee80211/ieee80211_module.c +0 -0
index a791175b86f5..8f236b332a47 100644

drivers/staging/rtl8192u/ieee80211/ieee80211_module.c struct net_device *alloc_ieee80211(int sizeof_priv) · line 163

Quoted 9 lines
drivers/staging/rtl8192u/ieee80211/ieee80211_module.c +1 -2
@@ -157,8 +157,7 @@ struct net_device *alloc_ieee80211(int sizeof_priv)
 	ieee80211_softmac_init(ieee);
 
 	ieee->pHTInfo = kzalloc(sizeof(RT_HIGH_THROUGHPUT), GFP_KERNEL);
-	if (ieee->pHTInfo == NULL)
-	{
+	if (ieee->pHTInfo == NULL) {
 		IEEE80211_DEBUG(IEEE80211_DL_ERR, "can't alloc memory for HTInfo\n");
 		goto failed;
 	}

I'm really sorry... this was sent by mistake...