mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-09 06:43:06 +00:00
rtl8188eu: Remove dead code inside "ifdef PLATFORM_FREEBSD" sections
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
5b999734d0
commit
285af1cf22
17 changed files with 18 additions and 658 deletions
|
@ -277,14 +277,9 @@ struct recv_priv
|
|||
#endif //CONFIG_USB_INTERRUPT_IN_PIPE
|
||||
|
||||
#endif
|
||||
#if defined(PLATFORM_LINUX) || defined(PLATFORM_FREEBSD)
|
||||
#ifdef PLATFORM_FREEBSD
|
||||
struct task irq_prepare_beacon_tasklet;
|
||||
struct task recv_tasklet;
|
||||
#else //PLATFORM_FREEBSD
|
||||
#if defined(PLATFORM_LINUX)
|
||||
struct tasklet_struct irq_prepare_beacon_tasklet;
|
||||
struct tasklet_struct recv_tasklet;
|
||||
#endif //PLATFORM_FREEBSD
|
||||
struct sk_buff_head free_recv_skb_queue;
|
||||
struct sk_buff_head rx_skb_queue;
|
||||
#ifdef CONFIG_RX_INDICATE_QUEUE
|
||||
|
@ -295,7 +290,7 @@ struct recv_priv
|
|||
#ifdef CONFIG_USE_USB_BUFFER_ALLOC_RX
|
||||
_queue recv_buf_pending_queue;
|
||||
#endif // CONFIG_USE_USB_BUFFER_ALLOC_RX
|
||||
#endif //defined(PLATFORM_LINUX) || defined(PLATFORM_FREEBSD)
|
||||
#endif //defined(PLATFORM_LINUX)
|
||||
|
||||
u8 *pallocated_recv_buf;
|
||||
u8 *precv_buf; // 4 alignment
|
||||
|
@ -380,7 +375,7 @@ struct recv_buf
|
|||
|
||||
#ifdef CONFIG_USB_HCI
|
||||
|
||||
#if defined(PLATFORM_OS_XP)||defined(PLATFORM_LINUX)||defined(PLATFORM_FREEBSD)
|
||||
#if defined(PLATFORM_OS_XP)||defined(PLATFORM_LINUX)
|
||||
PURB purb;
|
||||
dma_addr_t dma_transfer_addr; /* (in) dma addr for transfer_buffer */
|
||||
u32 alloc_sz;
|
||||
|
@ -403,10 +398,6 @@ struct recv_buf
|
|||
_pkt *pskb;
|
||||
u8 reuse;
|
||||
#endif
|
||||
#ifdef PLATFORM_FREEBSD //skb solution
|
||||
struct sk_buff *pskb;
|
||||
u8 reuse;
|
||||
#endif //PLATFORM_FREEBSD //skb solution
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue