staging: rtl8723au: Remove unused function rtw_os_read_port23a()
authorJes Sorensen <Jes.Sorensen@redhat.com>
Tue, 15 Apr 2014 17:44:40 +0000 (19:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Apr 2014 18:04:08 +0000 (11:04 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/include/recv_osdep.h
drivers/staging/rtl8723au/os_dep/recv_linux.c

index 15c94b6168bfeb1904d782b57a65e19a0282d47f..037ce5a64b9230a22694f2869ce76826b5402749 100644 (file)
@@ -38,8 +38,6 @@ void rtw_os_recv_resource_free(struct recv_priv *precvpriv);
 int rtw_os_recvbuf_resource_alloc23a(struct rtw_adapter *padapter, struct recv_buf *precvbuf);
 int rtw_os_recvbuf_resource_free23a(struct rtw_adapter *padapter, struct recv_buf *precvbuf);
 
-void rtw_os_read_port23a(struct rtw_adapter *padapter, struct recv_buf *precvbuf);
-
 void rtw_init_recv_timer23a(struct recv_reorder_ctrl *preorder_ctrl);
 
 #endif
index 18572090ac480982200dda33c336814a7b60b8ed..1d54f9e4c4a9f1c7aa5724d75d778128b0fe546c 100644 (file)
@@ -204,18 +204,6 @@ _recv_indicatepkt_drop:
         return _FAIL;
 }
 
-void rtw_os_read_port23a(struct rtw_adapter *padapter, struct recv_buf *precvbuf)
-{
-       struct recv_priv *precvpriv = &padapter->recvpriv;
-
-       /* free skb in recv_buf */
-       dev_kfree_skb_any(precvbuf->pskb);
-
-       precvbuf->pskb = NULL;
-
-       rtw_read_port(padapter, precvpriv->ff_hwaddr, 0, precvbuf);
-}
-
 void rtw_init_recv_timer23a(struct recv_reorder_ctrl *preorder_ctrl)
 {
        setup_timer(&preorder_ctrl->reordering_ctrl_timer,