staging: rtl8188eu: Remove function rtw_os_recv_resource_free()
authornavin patidar <navin.patidar@gmail.com>
Wed, 7 May 2014 03:57:29 +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_free() 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 b4b6292ece8c709a32f565eadbc7977dde395945..0e73df5975b8f919800b6904d6955cdffee153ac 100644 (file)
@@ -117,8 +117,6 @@ void _rtw_free_recv_priv (struct recv_priv *precvpriv)
 
        rtw_free_uc_swdec_pending_queue(padapter);
 
-       rtw_os_recv_resource_free(precvpriv);
-
        if (precvpriv->pallocated_frame_buf) {
                vfree(precvpriv->pallocated_frame_buf);
        }
index f49ac5635b0ec2a9eee28b9abde1e2b5f77ec661..44caea957c026a450e62995e13556703af8b7e1e 100644 (file)
@@ -41,7 +41,6 @@ void rtw_free_recv_priv(struct recv_priv *precvpriv);
 
 int rtw_os_recv_resource_alloc(struct adapter *adapt,
                               struct recv_frame *recvfr);
-void rtw_os_recv_resource_free(struct recv_priv *precvpriv);
 
 int rtw_os_recvbuf_resource_alloc(struct adapter *adapt, struct recv_buf *buf);
 int rtw_os_recvbuf_resource_free(struct adapter *adapt, struct recv_buf *buf);
index c1fbe8d7c3b4d7527e1919dff52db5a8f1ddf6c3..d1ce6399c4b00febcb99032ac05c063743bf0bb6 100644 (file)
@@ -37,11 +37,6 @@ int rtw_os_recv_resource_alloc(struct adapter *padapter,
        return _SUCCESS;
 }
 
-/* free os related resource in struct recv_frame */
-void rtw_os_recv_resource_free(struct recv_priv *precvpriv)
-{
-}
-
 /* alloc os related resource in struct recv_buf */
 int rtw_os_recvbuf_resource_alloc(struct adapter *padapter,
                                  struct recv_buf *precvbuf)