summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorsayli karnik <karniksayli1995@gmail.com>2016-10-10 21:53:10 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-16 10:26:25 +0200
commitefffed8e06f85470814c409517ad21163843acf0 (patch)
treecda7d12cc80018387643b544c47e75610f4789d7 /drivers
parent67fafe375a634fa7cd4dc4f710e106c32a406e8a (diff)
downloadlinux-stable-efffed8e06f85470814c409517ad21163843acf0.tar.gz
linux-stable-efffed8e06f85470814c409517ad21163843acf0.tar.bz2
linux-stable-efffed8e06f85470814c409517ad21163843acf0.zip
staging: wlan-ng: cfg80211: Remove unnecessary parentheses around variables
The patch fixes the checkpatch.pl check: CHECK: Unnecessary parentheses around variable Signed-off-by: sayli karnik <karniksayli1995@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/wlan-ng/cfg80211.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wlan-ng/cfg80211.c b/drivers/staging/wlan-ng/cfg80211.c
index 67c48a8c18af..aa0e5a3d4a89 100644
--- a/drivers/staging/wlan-ng/cfg80211.c
+++ b/drivers/staging/wlan-ng/cfg80211.c
@@ -375,13 +375,13 @@ static int prism2_scan(struct wiphy *wiphy,
ie_buf[0] = WLAN_EID_SSID;
ie_buf[1] = msg2.ssid.data.len;
ie_len = ie_buf[1] + 2;
- memcpy(&ie_buf[2], &(msg2.ssid.data.data), msg2.ssid.data.len);
+ memcpy(&ie_buf[2], &msg2.ssid.data.data, msg2.ssid.data.len);
freq = ieee80211_channel_to_frequency(msg2.dschannel.data,
NL80211_BAND_2GHZ);
bss = cfg80211_inform_bss(wiphy,
ieee80211_get_channel(wiphy, freq),
CFG80211_BSS_FTYPE_UNKNOWN,
- (const u8 *)&(msg2.bssid.data.data),
+ (const u8 *)&msg2.bssid.data.data,
msg2.timestamp.data, msg2.capinfo.data,
msg2.beaconperiod.data,
ie_buf,