* [PATCH 1/2] staging:rtl8712: Removed unnecessary parentheses
@ 2017-01-07 2:14 Scott Matheina
2017-01-07 2:14 ` [PATCH 2/2] staging:rtl8712 Aligned code with open parenthesis Scott Matheina
0 siblings, 1 reply; 2+ messages in thread
From: Scott Matheina @ 2017-01-07 2:14 UTC (permalink / raw)
To: linux-kernel
Cc: Larry Finger, Florian Schilhabel, Greg Kroah-Hartman, Parth Sane,
Bhaktipriya Shridhar, devel
Removed unnecessary parentheses identified by checkpatch
Signed-off-by: Scott Matheina <scott@matheina.com>
---
drivers/staging/rtl8712/ieee80211.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8712/ieee80211.c b/drivers/staging/rtl8712/ieee80211.c
index 5dc3b5b..bfc6838 100644
--- a/drivers/staging/rtl8712/ieee80211.c
+++ b/drivers/staging/rtl8712/ieee80211.c
@@ -202,10 +202,10 @@ int r8712_generate_ie(struct registry_priv *pregistrypriv)
rateLen, pdev_network->rates, &sz);
/*DS parameter set*/
ie = r8712_set_ie(ie, _DSSET_IE_, 1,
- (u8 *)&(pdev_network->Configuration.DSConfig), &sz);
+ (u8 *)&pdev_network->Configuration.DSConfig, &sz);
/*IBSS Parameter Set*/
ie = r8712_set_ie(ie, _IBSS_PARA_IE_, 2,
- (u8 *)&(pdev_network->Configuration.ATIMWindow), &sz);
+ (u8 *)&pdev_network->Configuration.ATIMWindow, &sz);
return sz;
}
--
2.7.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 2/2] staging:rtl8712 Aligned code with open parenthesis
2017-01-07 2:14 [PATCH 1/2] staging:rtl8712: Removed unnecessary parentheses Scott Matheina
@ 2017-01-07 2:14 ` Scott Matheina
0 siblings, 0 replies; 2+ messages in thread
From: Scott Matheina @ 2017-01-07 2:14 UTC (permalink / raw)
To: linux-kernel
Cc: Larry Finger, Florian Schilhabel, Greg Kroah-Hartman, Parth Sane,
Bhaktipriya Shridhar, devel
Aligned code with open parenthesis to fix a checkpatch warning
Signed-off-by: Scott Matheina <scott@matheina.com>
---
drivers/staging/rtl8712/mlme_linux.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/rtl8712/mlme_linux.c b/drivers/staging/rtl8712/mlme_linux.c
index af7c4a4..999c16d 100644
--- a/drivers/staging/rtl8712/mlme_linux.c
+++ b/drivers/staging/rtl8712/mlme_linux.c
@@ -117,7 +117,7 @@ void r8712_os_indicate_disconnect(struct _adapter *adapter)
backupTKIPCountermeasure = adapter->securitypriv.
btkip_countermeasure;
memset((unsigned char *)&adapter->securitypriv, 0,
- sizeof(struct security_priv));
+ sizeof(struct security_priv));
setup_timer(&adapter->securitypriv.tkip_timer,
r8712_use_tkipkey_handler,
(unsigned long)adapter);
@@ -125,8 +125,8 @@ void r8712_os_indicate_disconnect(struct _adapter *adapter)
* for the following connection.
*/
memcpy(&adapter->securitypriv.PMKIDList[0],
- &backupPMKIDList[0],
- sizeof(struct RT_PMKID_LIST) * NUM_PMKID_CACHE);
+ &backupPMKIDList[0],
+ sizeof(struct RT_PMKID_LIST) * NUM_PMKID_CACHE);
adapter->securitypriv.PMKIDIndex = backupPMKIDIndex;
adapter->securitypriv.btkip_countermeasure =
backupTKIPCountermeasure;
--
2.7.4
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-01-07 2:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-07 2:14 [PATCH 1/2] staging:rtl8712: Removed unnecessary parentheses Scott Matheina
2017-01-07 2:14 ` [PATCH 2/2] staging:rtl8712 Aligned code with open parenthesis Scott Matheina
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®