mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 08:34:20 +00:00
rtl8188eu: Remove code used only for Windows
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
2caee63170
commit
a68c6cc26e
42 changed files with 9 additions and 1912 deletions
|
@ -272,17 +272,6 @@ struct recv_priv
|
|||
|
||||
_adapter *adapter;
|
||||
|
||||
#ifdef PLATFORM_WINDOWS
|
||||
_nic_hdl RxPktPoolHdl;
|
||||
_nic_hdl RxBufPoolHdl;
|
||||
|
||||
#ifdef PLATFORM_OS_XP
|
||||
PMDL pbytecnt_mdl;
|
||||
#endif
|
||||
uint counter; //record the number that up-layer will return to drv; only when counter==0 can we release recv_priv
|
||||
NDIS_EVENT recv_resource_evt ;
|
||||
#endif
|
||||
|
||||
u32 bIsAnyNonBEPkts;
|
||||
u64 rx_bytes;
|
||||
u64 rx_pkts;
|
||||
|
@ -674,10 +663,6 @@ __inline static _buffer * get_rxbuf_desc(union recv_frame *precvframe)
|
|||
|
||||
if(precvframe==NULL)
|
||||
return NULL;
|
||||
#ifdef PLATFORM_WINDOWS
|
||||
NdisQueryPacket(precvframe->u.hdr.pkt, NULL, NULL, &buf_desc, NULL);
|
||||
#endif
|
||||
|
||||
return buf_desc;
|
||||
}
|
||||
|
||||
|
@ -697,13 +682,6 @@ __inline static union recv_frame *pkt_to_recvframe(_pkt *pkt)
|
|||
|
||||
u8 * buf_star;
|
||||
union recv_frame * precv_frame;
|
||||
#ifdef PLATFORM_WINDOWS
|
||||
_buffer * buf_desc;
|
||||
uint len;
|
||||
|
||||
NdisQueryPacket(pkt, NULL, NULL, &buf_desc, &len);
|
||||
NdisQueryBufferSafe(buf_desc, &buf_star, &len, HighPagePriority);
|
||||
#endif
|
||||
precv_frame = rxmem_to_recvframe((unsigned char*)buf_star);
|
||||
|
||||
return precv_frame;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue