staging: rtl8188eu: Remove 'pallocated_buf' from struct recv_buf
authornavin patidar <navin.patidar@gmail.com>
Sat, 3 May 2014 11:45:27 +0000 (17:15 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 May 2014 00:30:11 +0000 (20:30 -0400)
pallocated_buf is not being used by driver.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/include/rtw_recv.h
drivers/staging/rtl8188eu/os_dep/recv_linux.c

index 987445a0ab0ae8da214285123cc7ac5e06236966..b955d73bb97c2343a9802a97c1214ade788f90bb 100644 (file)
@@ -238,7 +238,6 @@ struct recv_buf {
        u32     ref_cnt;
        struct adapter *adapter;
        u8      *pbuf;
-       u8      *pallocated_buf;
        u32     len;
        struct urb *purb;
        u32 alloc_sz;
index 7f9b6545b6253793297f40e704e4ce1c3821344f..25358fbeefeb3c1da45d36a9193de5bac320c7fc 100644 (file)
@@ -60,7 +60,6 @@ int rtw_os_recvbuf_resource_alloc(struct adapter *padapter,
                res = _FAIL;
        precvbuf->pskb = NULL;
        precvbuf->reuse = false;
-       precvbuf->pallocated_buf = NULL;
        precvbuf->pbuf = NULL;
        precvbuf->len = 0;
        return res;