staging: rtl8712: Remove unnecessary parentheses
authorAliya Rahmani <aliyarahmani786@gmail.com>
Wed, 13 Apr 2022 18:23:04 +0000 (23:53 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Apr 2022 07:12:11 +0000 (09:12 +0200)
Remove redundant parentheses reported by checkpatch.

Signed-off-by: Aliya Rahmani <aliyarahmani786@gmail.com>
Link: https://lore.kernel.org/r/20220413182303.34807-1-aliyarahmani786@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/rtl871x_ioctl_set.c

index 603a3a48f952bcf318bdd24c08b41caffc00fc39..34c9a52b4c42a620d140f2df1e5e632b2d499741 100644 (file)
@@ -75,7 +75,7 @@ static u8 do_join(struct _adapter *padapter)
                         * acquired by caller...
                         */
                        struct wlan_bssid_ex *pdev_network =
-                               &(padapter->registrypriv.dev_network);
+                               &padapter->registrypriv.dev_network;
                        pmlmepriv->fw_state = WIFI_ADHOC_MASTER_STATE;
                        pibss = padapter->registrypriv.dev_network.MacAddress;
                        memcpy(&pdev_network->Ssid,