mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 16:44:20 +00:00
rtl8188eu: FRemove dead code for other than USB
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
5a2939fa9e
commit
2d60bad9ad
66 changed files with 229 additions and 4045 deletions
|
@ -196,7 +196,6 @@ void _rtw_skb_queue_purge(struct sk_buff_head *list)
|
|||
_rtw_skb_free(skb);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_USB_HCI
|
||||
inline void *_rtw_usb_buffer_alloc(struct usb_device *dev, size_t size, dma_addr_t *dma)
|
||||
{
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35))
|
||||
|
@ -214,8 +213,6 @@ inline void _rtw_usb_buffer_free(struct usb_device *dev, size_t size, void *addr
|
|||
usb_buffer_free(dev, size, addr, dma);
|
||||
#endif
|
||||
}
|
||||
#endif /* CONFIG_USB_HCI */
|
||||
|
||||
#ifdef DBG_MEM_ALLOC
|
||||
|
||||
struct rtw_mem_stat {
|
||||
|
@ -567,7 +564,6 @@ inline void dbg_rtw_skb_queue_purge(struct sk_buff_head *list, enum mstat_f flag
|
|||
dbg_rtw_skb_free(skb, flags, func, line);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_USB_HCI
|
||||
inline void *dbg_rtw_usb_buffer_alloc(struct usb_device *dev, size_t size, dma_addr_t *dma, const enum mstat_f flags, const char *func, int line)
|
||||
{
|
||||
void *p;
|
||||
|
@ -596,7 +592,6 @@ inline void dbg_rtw_usb_buffer_free(struct usb_device *dev, size_t size, void *a
|
|||
, size
|
||||
);
|
||||
}
|
||||
#endif /* CONFIG_USB_HCI */
|
||||
#endif /* DBG_MEM_ALLOC */
|
||||
|
||||
void* rtw_malloc2d(int h, int w, int size)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue