Skip to contentSkip to conversation

Staging : wlan-ng: fix unnecessary parentheses in prism2mgmt.c

PATCH New Yash Omer 1 participant 1 message Feb 16, 2018 Staging

lore
Share & tools
lore

Yash Omer

author
#0 lore raw

PATCH 1/1 Staging : wlan-ng: fix unnecessary parentheses in prism2mgmt.c

This patch fixes up unnecessary parentheses warning found by checkpatch.pl script.

---
 drivers/staging/wlan-ng/prism2mgmt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/wlan-ng/prism2mgmt.c +1 -1
index 236961e3ba0d..90cc6cdaaaa8 100644
@@ -1065,7 +1065,7 @@ int prism2mgmt_autojoin(struct wlandevice *wlandev, void *msgp)
 
 	/* Set the ssid */
 	memset(bytebuf, 0, 256);
-	pstr = (struct p80211pstrd *)&(msg->ssid.data);
+	pstr = (struct p80211pstrd *)&msg->ssid.data;
 	prism2mgmt_pstr2bytestr(p2bytestr, pstr);
 	result = hfa384x_drvr_setconfig(hw, HFA384x_RID_CNFDESIREDSSID,
 					bytebuf,
Signature · 6 lines
2.14.3

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel