Staging: rtl8188eu: Fix warning of unnecessary parentheses.
authorElena Oat <oat.elena@gmail.com>
Thu, 6 Mar 2014 07:37:04 +0000 (09:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2014 22:47:03 +0000 (14:47 -0800)
This patch fixes the warning of "unnecessary parentheses" in file rtw_cmd.c.

Signed-off-by: Elena Oat <oat.elena@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_cmd.c

index cfd57d479cb15e73bef610f5b017bc4a25e0f827..3782e5e870959adac793fb5f2b7466051aae8118 100644 (file)
@@ -2133,7 +2133,7 @@ void rtw_createbss_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd)
        struct wlan_network *tgt_network = &(pmlmepriv->cur_network);
 
 
-       if ((pcmd->res != H2C_SUCCESS)) {
+       if (pcmd->res != H2C_SUCCESS) {
                RT_TRACE(_module_rtl871x_cmd_c_, _drv_err_, ("\n ********Error: rtw_createbss_cmd_callback  Fail ************\n\n."));
                _set_timer(&pmlmepriv->assoc_timer, 1);
        }