staging:rtl8712: Removed unnecessary parentheses
authorScott Matheina <scott@matheina.com>
Sat, 7 Jan 2017 02:14:30 +0000 (20:14 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Jan 2017 16:04:04 +0000 (17:04 +0100)
Removed unnecessary parentheses identified by checkpatch

Signed-off-by: Scott Matheina <scott@matheina.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/ieee80211.c

index ccf8ba6..d84da2b 100644 (file)
@@ -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;
 }