]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging: rtl8188eu: Remove unused member cmd_done_cnt from struct cmd_priv
authornavin patidar <navin.patidar@gmail.com>
Thu, 10 Jul 2014 03:42:02 +0000 (09:12 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2014 04:14:35 +0000 (21:14 -0700)
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_cmd.c
drivers/staging/rtl8188eu/include/rtw_cmd.h

index 2e70203c4e6df877e6db153034867bdb10381b17..4035ae22a937f03af937c62cb444b447d4f1c81d 100644 (file)
@@ -64,7 +64,6 @@ int rtw_init_cmd_priv(struct cmd_priv *pcmdpriv)
 
        pcmdpriv->rsp_buf = pcmdpriv->rsp_allocated_buf  +  4 - ((size_t)(pcmdpriv->rsp_allocated_buf) & 3);
 
-       pcmdpriv->cmd_done_cnt = 0;
 exit:
        return res;
 }
index b4ee2c8dfdf422e15234f44b3ece99596d3e8635..ca69511caf2a7456cb98d54a6b6f869271fb2892 100644 (file)
@@ -52,7 +52,6 @@ struct cmd_priv {
        u8      *cmd_allocated_buf;
        u8      *rsp_buf;       /* shall be non-paged, and 4 bytes aligned */
        u8      *rsp_allocated_buf;
-       u32     cmd_done_cnt;
        u8 cmdthd_running;
        struct adapter *padapter;
 };