staging: rtl8723au: Eliminate no-op function rtl8723au_init_recvbuf()
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 9 May 2014 13:04:24 +0000 (15:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 May 2014 20:12:02 +0000 (13:12 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/rtl8723au_recv.c
drivers/staging/rtl8723au/hal/usb_ops_linux.c
drivers/staging/rtl8723au/include/rtl8723a_recv.h

index 5e8cd0e593879c3b9233a4215ba28fae664646d1..6a25ad572b2682c47708301dbf8ca296b1a325ff 100644 (file)
 #include <wifi.h>
 #include <rtl8723a_hal.h>
 
-void rtl8723au_init_recvbuf(struct rtw_adapter *padapter,
-                           struct recv_buf *precvbuf)
-{
-}
-
 int rtl8723au_init_recv_priv(struct rtw_adapter *padapter)
 {
        struct recv_priv *precvpriv = &padapter->recvpriv;
index 3aa0374cb60a2dea6c19932120a1640ff9986288..484006a5f3388b3e24d79b90742f97bd129d148a 100644 (file)
@@ -764,8 +764,6 @@ static u32 usb_read_port(struct rtw_adapter *adapter, u32 addr, u32 cnt,
        if (!precvbuf->pskb)
                precvbuf->pskb = skb_dequeue(&precvpriv->free_recv_skb_queue);
 
-       rtl8723au_init_recvbuf(adapter, precvbuf);
-
        /* re-assign for linux based on skb */
        if (!precvbuf->pskb) {
                precvbuf->pskb = netdev_alloc_skb(adapter->pnetdev, MAX_RECVBUF_SZ + RECVBUFF_ALIGN_SZ);
index 4fbf73140621d82aecb56f325d776808a4c47b63..885d4d3859f8f60eff40e414becc7eb95be286f4 100644 (file)
@@ -60,7 +60,6 @@ struct interrupt_msg_format {
        unsigned int  MSG_EX;
 };
 
-void rtl8723au_init_recvbuf(struct rtw_adapter *padapter, struct recv_buf *precvbuf);
 int rtl8723au_init_recv_priv(struct rtw_adapter * padapter);
 void rtl8723au_free_recv_priv(struct rtw_adapter * padapter);
 void rtl8723a_process_phy_info(struct rtw_adapter *padapter, void *prframe);