Skip to contentSkip to conversation

staging: rtl8188eu: Remove unnecessary parantheses

PATCH New Bhaktipriya Shridhar 1 participant 1 message Feb 22, 2016 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: rtl8188eu: Remove unnecessary parantheses

Removed parantheses on the right hand side of assignments as they are not needed.

This was done with Coccinelle:

@@ expression a, b; @@

a =
- (
b
- )
;

---
 drivers/staging/rtl8188eu/core/rtw_ap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8188eu/core/rtw_ap.c +1 -1
index 79d326a..47a740e 100644
@@ -203,7 +203,7 @@ void rtw_add_bcn_ie(struct adapter *padapter, struct wlan_bssid_ex *pnetwork,
 		if (bmatch)
 			dst_ie = p;
 		else
-			dst_ie = (p+ielen);
+			dst_ie = p+ielen;
 	}
 
 	if (remainder_ielen > 0) {

--
2.1.4