staging: rtl8192u: Removing unnecessary parentheses
authorsimran singhal <singhalsimran0@gmail.com>
Sun, 12 Feb 2017 09:44:12 +0000 (15:14 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 12 Feb 2017 12:46:57 +0000 (13:46 +0100)
Removing unnecessary parentheses from an expression of the form &(x).
Issue found by checkpatch.

Signed-off-by: simran singhal <singhalsimran0@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/ieee80211_module.c

index 0b162bf..a9a92d8 100644 (file)
@@ -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;