summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8188eu/hal
diff options
context:
space:
mode:
authornavin patidar <navin.patidar@gmail.com>2014-05-03 17:15:28 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-03 20:30:11 -0400
commit1b2a4fc7a55415a7afc5baa21986dbd25345e782 (patch)
tree0d1d7d0193ce7343f31f822166db4d6aa1ab3704 /drivers/staging/rtl8188eu/hal
parentf0f4499d703d73c8c9dac77e3fff9cd71c04db9a (diff)
staging: rtl8188eu: Remove 'alloc_sz' from struct recv_buf
Driver isn't making any use of value stored in alloc_sz variable. Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/hal')
-rw-r--r--drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c b/drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c
index 41a0c0dc521e..3edc2cd1ac7b 100644
--- a/drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c
+++ b/drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c
@@ -61,7 +61,6 @@ int rtl8188eu_init_recv_priv(struct adapter *padapter)
precvbuf = (struct recv_buf *)precvpriv->precv_buf;
for (i = 0; i < NR_RECVBUFF; i++) {
- precvbuf->alloc_sz = MAX_RECVBUF_SZ;
res = rtw_os_recvbuf_resource_alloc(padapter, precvbuf);
if (res == _FAIL)
break;