staging: rtl8188eu: Remove function rtw_os_recv_resource_init()
authornavin patidar <navin.patidar@gmail.com>
Wed, 7 May 2014 03:57:28 +0000 (09:27 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 16:41:51 +0000 (01:41 +0900)
rtw_os_recv_resource_init() has empty defination, so we can remove it.

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

index 5c3d416adb67863cc67d639ab1827790df43e3fa..b4b6292ece8c709a32f565eadbc7977dde395945 100644 (file)
@@ -71,8 +71,6 @@ int _rtw_init_recv_priv(struct recv_priv *precvpriv, struct adapter *padapter)
 
        precvpriv->free_recvframe_cnt = NR_RECVFRAME;
 
-       rtw_os_recv_resource_init(precvpriv, padapter);
-
        precvpriv->pallocated_frame_buf = vzalloc(NR_RECVFRAME * sizeof(struct recv_frame) + RXFRAME_ALIGN_SZ);
 
        if (precvpriv->pallocated_frame_buf == NULL) {
index d76cc2db502810df1c973bb26d0fe88b83a44d8b..f49ac5635b0ec2a9eee28b9abde1e2b5f77ec661 100644 (file)
@@ -39,7 +39,6 @@ void rtw_handle_tkip_mic_err(struct adapter *padapter, u8 bgroup);
 int rtw_init_recv_priv(struct recv_priv *precvpriv, struct adapter *padapter);
 void rtw_free_recv_priv(struct recv_priv *precvpriv);
 
-int rtw_os_recv_resource_init(struct recv_priv *recvpr, struct adapter *adapt);
 int rtw_os_recv_resource_alloc(struct adapter *adapt,
                               struct recv_frame *recvfr);
 void rtw_os_recv_resource_free(struct recv_priv *precvpriv);
index 29ec0148b5738b2c2630c0c767fe2eb092f42057..c1fbe8d7c3b4d7527e1919dff52db5a8f1ddf6c3 100644 (file)
 #include <osdep_intf.h>
 #include <usb_ops.h>
 
-/* init os related resource in struct recv_priv */
-int rtw_os_recv_resource_init(struct recv_priv *precvpriv,
-                             struct adapter *padapter)
-{
-       return _SUCCESS;
-}
-
 /* alloc os related resource in struct recv_frame */
 int rtw_os_recv_resource_alloc(struct adapter *padapter,
                               struct recv_frame *precvframe)