rtl8188eu: Remove CONFIG_BSD_RX_USE_MBUF

This symbol is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2013-07-19 22:18:46 -05:00
parent 9799b069cb
commit 34d1182272
2 changed files with 1 additions and 11 deletions

View file

@ -215,13 +215,8 @@ int rtw_free_recvframe(union recv_frame *precvframe, _queue *pfree_recv_queue)
_func_enter_;
if (precvframe->u.hdr.pkt)
{
#ifdef CONFIG_BSD_RX_USE_MBUF
m_freem(precvframe->u.hdr.pkt);
#else /* CONFIG_BSD_RX_USE_MBUF */
if (precvframe->u.hdr.pkt) {
dev_kfree_skb_any(precvframe->u.hdr.pkt);/* free skb by driver */
#endif /* CONFIG_BSD_RX_USE_MBUF */
precvframe->u.hdr.pkt = NULL;
}

View file

@ -321,13 +321,8 @@ struct recv_buf
struct recv_frame_hdr
{
_list list;
#ifndef CONFIG_BSD_RX_USE_MBUF
struct sk_buff *pkt;
struct sk_buff *pkt_newalloc;
#else // CONFIG_BSD_RX_USE_MBUF
_pkt *pkt;
_pkt *pkt_newalloc;
#endif // CONFIG_BSD_RX_USE_MBUF
_adapter *adapter;