staging: rtl8723au: Eliminate no-op function rtl8723au_init_recvbuf()
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a61b32289a
commit
099a845251
@ -23,11 +23,6 @@
|
||||
#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;
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user