Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1579183 > unrolled thread

[PATCH 15/15] staging: rtl8192u: Removing unnecessary parentheses

Started bysimran singhal <singhalsimran0@gmail.com>
First post2017-02-12 10:50 +0100
Last post2017-02-12 10:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 15/15] staging: rtl8192u: Removing unnecessary parentheses simran singhal <singhalsimran0@gmail.com> - 2017-02-12 10:50 +0100

#1579183 — [PATCH 15/15] staging: rtl8192u: Removing unnecessary parentheses

Fromsimran singhal <singhalsimran0@gmail.com>
Date2017-02-12 10:50 +0100
Subject[PATCH 15/15] staging: rtl8192u: Removing unnecessary parentheses
Message-ID<t9YX7-4CT-3@gated-at.bofh.it>
Removing unnecessary parentheses from an expression of the form &(x).
Issue found by checkpatch.

Signed-off-by: simran singhal <singhalsimran0@gmail.com>
---
 drivers/staging/rtl8192u/ieee80211/ieee80211_module.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
index 0b162bf..a9a92d8 100644
--- a/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
+++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
@@ -141,8 +141,8 @@ struct net_device *alloc_ieee80211(int sizeof_priv)
 	spin_lock_init(&ieee->bw_spinlock);
 	spin_lock_init(&ieee->reorder_spinlock);
 	/* added by WB */
-	atomic_set(&(ieee->atm_chnlop), 0);
-	atomic_set(&(ieee->atm_swbw), 0);
+	atomic_set(&ieee->atm_chnlop, 0);
+	atomic_set(&ieee->atm_swbw, 0);
 
 	ieee->wpax_type_set = 0;
 	ieee->wpa_enabled = 0;
-- 
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web