staging: rtl8712: Remove unnecessary parentheses.
authorGulsah Kose <gulsah.1004@gmail.com>
Tue, 11 Mar 2014 22:55:34 +0000 (00:55 +0200)
committerPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Thu, 13 Mar 2014 23:49:16 +0000 (16:49 -0700)
Remove unnecessary parentheses from rtl871x_cmd.c

Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
drivers/staging/rtl8712/rtl871x_cmd.c

index 14e1270d32195b5968fddfb9fc73e6bad8c41917..a67185db392b653546dba84b23e1eee635eb654e 100644 (file)
@@ -910,7 +910,7 @@ void r8712_joinbss_cmd_callback(struct _adapter *padapter, struct cmd_obj *pcmd)
 {
        struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
 
-       if ((pcmd->res != H2C_SUCCESS))
+       if (pcmd->res != H2C_SUCCESS)
                _set_timer(&pmlmepriv->assoc_timer, 1);
        r8712_free_cmd_obj(pcmd);
 }
@@ -927,7 +927,7 @@ void r8712_createbss_cmd_callback(struct _adapter *padapter,
                                              pcmd->parmbuf;
        struct wlan_network *tgt_network = &(pmlmepriv->cur_network);
 
-       if ((pcmd->res != H2C_SUCCESS))
+       if (pcmd->res != H2C_SUCCESS)
                _set_timer(&pmlmepriv->assoc_timer, 1);
        _cancel_timer(&pmlmepriv->assoc_timer, &timer_cancelled);
 #ifdef __BIG_ENDIAN