staging: rtl8192e: rtllib_module: remove unnecessary parentheses
authorAaron Lawrence <t4rmin@zohomail.com>
Thu, 27 Oct 2022 13:56:27 +0000 (20:56 +0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 31 Oct 2022 08:05:53 +0000 (09:05 +0100)
This patch is intended to remove unnecessary parentheses in the
rtllib_module.c file following the Linux kernel coding-style
regulations. The modification is recommended by the checkpatch script.

Signed-off-by: Aaron Lawrence <t4rmin@zohomail.com>
Link: https://lore.kernel.org/r/20221027135627.vzc3woeuhrivozqz@plymouth
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_module.c

index 41697ef55dbd2e09b58172ac20317863c754c11e..ce8b73f437a3da233f2f700aeffe340fd2cd0077 100644 (file)
@@ -107,7 +107,7 @@ struct net_device *alloc_rtllib(int sizeof_priv)
        spin_lock_init(&ieee->lock);
        spin_lock_init(&ieee->wpax_suitlist_lock);
        spin_lock_init(&ieee->reorder_spinlock);
-       atomic_set(&(ieee->atm_swbw), 0);
+       atomic_set(&ieee->atm_swbw, 0);
 
        /* SAM FIXME */
        lib80211_crypt_info_init(&ieee->crypt_info, "RTLLIB", &ieee->lock);