Staging: rtl8188eu: Fix warning of space before tabs.
authorElena Oat <oat.elena@gmail.com>
Thu, 6 Mar 2014 07:36:37 +0000 (09:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2014 22:47:03 +0000 (14:47 -0800)
This patch fixes the warning of "please, no space before tabs" in file
rtw_cmd.c. I have also removed couple of lines of code that was
commented and probably left from the previous version.

Signed-off-by: Elena Oat <oat.elena@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_cmd.c

index 3904066..cfd57d4 100644 (file)
@@ -1201,8 +1201,6 @@ u8 rtw_getrttbl_cmd(struct adapter  *padapter, struct getratable_rsp *pval)
                goto exit;
        }
 
-/*     init_h2fwcmd_w_parm_no_rsp(ph2c, psetrttblparm, GEN_CMD_CODE(_SetRaTable)); */
-
        _rtw_init_listhead(&ph2c->list);
        ph2c->cmdcode = GEN_CMD_CODE(_GetRaTable);
        ph2c->parmbuf = (unsigned char *)pgetrttblparm;
@@ -1647,10 +1645,6 @@ u8 rtw_lps_ctrl_wk_cmd(struct adapter *padapter, u8 lps_ctrl_type, u8 enqueue)
        /* struct pwrctrl_priv *pwrctrlpriv = &padapter->pwrctrlpriv; */
        u8      res = _SUCCESS;
 
-
-       /* if (!pwrctrlpriv->bLeisurePs) */
-       /*      return res; */
-
        if (enqueue) {
                ph2c = (struct cmd_obj *)rtw_zmalloc(sizeof(struct cmd_obj));
                if (ph2c == NULL) {
@@ -1797,8 +1791,8 @@ u8 p2p_protocol_wk_cmd(struct adapter *padapter, int intCmdType)
        }
 
        pdrvextra_cmd_parm->ec_id = P2P_PROTO_WK_CID;
-       pdrvextra_cmd_parm->type_size = intCmdType;     /*      As the command tppe. */
-       pdrvextra_cmd_parm->pbuf = NULL;                /*      Must be NULL here */
+       pdrvextra_cmd_parm->type_size = intCmdType; /* As the command tppe. */
+       pdrvextra_cmd_parm->pbuf = NULL;            /* Must be NULL here */
 
        init_h2fwcmd_w_parm_no_rsp(ph2c, pdrvextra_cmd_parm, GEN_CMD_CODE(_Set_Drv_Extra));
 
@@ -2049,8 +2043,10 @@ u8 rtw_drvextra_cmd_hdl(struct adapter *padapter, unsigned char *pbuf)
                p2p_ps_wk_hdl(padapter, pdrvextra_cmd->type_size);
                break;
        case P2P_PROTO_WK_CID:
-               /*      Commented by Albert 2011/07/01 */
-               /*      I used the type_size as the type command */
+               /*
+                * Commented by Albert 2011/07/01
+                * I used the type_size as the type command
+                */
                p2p_protocol_wk_hdl(padapter, pdrvextra_cmd->type_size);
                break;
 #endif