From f0f4499d703d73c8c9dac77e3fff9cd71c04db9a Mon Sep 17 00:00:00 2001 From: navin patidar Date: Sat, 3 May 2014 17:15:27 +0530 Subject: [PATCH] staging: rtl8188eu: Remove 'pallocated_buf' from struct recv_buf pallocated_buf is not being used by driver. Signed-off-by: navin patidar Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8188eu/include/rtw_recv.h | 1 - drivers/staging/rtl8188eu/os_dep/recv_linux.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_recv.h b/drivers/staging/rtl8188eu/include/rtw_recv.h index 987445a0ab0a..b955d73bb97c 100644 --- a/drivers/staging/rtl8188eu/include/rtw_recv.h +++ b/drivers/staging/rtl8188eu/include/rtw_recv.h @@ -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; diff --git a/drivers/staging/rtl8188eu/os_dep/recv_linux.c b/drivers/staging/rtl8188eu/os_dep/recv_linux.c index 7f9b6545b625..25358fbeefeb 100644 --- a/drivers/staging/rtl8188eu/os_dep/recv_linux.c +++ b/drivers/staging/rtl8188eu/os_dep/recv_linux.c @@ -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; -- 2.20.1