diff options
author | Dafna Hirschfeld <dafna3@gmail.com> | 2018-03-02 15:09:57 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-06 04:07:48 -0800 |
commit | 01808309495e22b559ca854014b507e89a49cddb (patch) | |
tree | ffc97085639839523f86d8cd5ca9d2255a640341 /drivers/staging/rtl8192e | |
parent | 330d7c503b52b4ef8abcbbd1294f6d7f754b01bc (diff) |
staging: rtl8192e: Remove unnecessary parentheses
Remove unnecessary parentheses between 'address-of' operators
and a struct members.
Issues found with checkpatch.pl
Signed-off-by: Dafna Hirschfeld <dafna3@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192e')
-rw-r--r-- | drivers/staging/rtl8192e/rtl8192e/rtl_wx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c b/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c index 1d9eb548c50e..a9192e8c9aa2 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c @@ -171,7 +171,7 @@ static int _rtl92e_wx_adapter_power_status(struct net_device *dev, { struct r8192_priv *priv = rtllib_priv(dev); struct rt_pwr_save_ctrl *pPSC = (struct rt_pwr_save_ctrl *) - (&(priv->rtllib->PowerSaveControl)); + (&priv->rtllib->PowerSaveControl); struct rtllib_device *ieee = priv->rtllib; mutex_lock(&priv->wx_mutex); @@ -202,7 +202,7 @@ static int _rtl92e_wx_set_lps_awake_interval(struct net_device *dev, { struct r8192_priv *priv = rtllib_priv(dev); struct rt_pwr_save_ctrl *pPSC = (struct rt_pwr_save_ctrl *) - (&(priv->rtllib->PowerSaveControl)); + (&priv->rtllib->PowerSaveControl); mutex_lock(&priv->wx_mutex); @@ -962,7 +962,7 @@ static int _rtl92e_wx_set_auth(struct net_device *dev, return 0; mutex_lock(&priv->wx_mutex); - ret = rtllib_wx_set_auth(priv->rtllib, info, &(data->param), extra); + ret = rtllib_wx_set_auth(priv->rtllib, info, &data->param, extra); mutex_unlock(&priv->wx_mutex); return ret; } |