diff options
author | 2014-05-03 17:15:30 +0530 | |
---|---|---|
committer | 2014-05-03 20:30:11 -0400 | |
commit | a1f3b3fdba2ab124c1e8c2b6aa17cfcf5c99d756 (patch) | |
tree | 91831d77253f79a22185d3b5608c89589a8c3f12 /drivers/staging/rtl8188eu/os_dep/recv_linux.c | |
parent | staging: rtl8188eu: Remove 'u32 len' from struct recv_buf (diff) | |
download | linux-dev-a1f3b3fdba2ab124c1e8c2b6aa17cfcf5c99d756.tar.xz linux-dev-a1f3b3fdba2ab124c1e8c2b6aa17cfcf5c99d756.zip |
staging: rtl8188eu: Remove 'u32 ref_cnt' from struct recv_buf
Driver isn't making any use of value stored in variable ref_cnt.
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/os_dep/recv_linux.c')
-rw-r--r-- | drivers/staging/rtl8188eu/os_dep/recv_linux.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/rtl8188eu/os_dep/recv_linux.c b/drivers/staging/rtl8188eu/os_dep/recv_linux.c index 2577ceb62dee..c1664b723bf5 100644 --- a/drivers/staging/rtl8188eu/os_dep/recv_linux.c +++ b/drivers/staging/rtl8188eu/os_dep/recv_linux.c @@ -221,7 +221,6 @@ void rtw_os_read_port(struct adapter *padapter, struct recv_buf *precvbuf) { struct recv_priv *precvpriv = &padapter->recvpriv; - precvbuf->ref_cnt--; /* free skb in recv_buf */ dev_kfree_skb_any(precvbuf->pskb); precvbuf->pskb = NULL; |