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
|
@ -21,10 +21,6 @@
|
|||
|
||||
#include <drv_types.h>
|
||||
|
||||
#ifdef PLATFORM_FREEBSD
|
||||
#include <sys/unistd.h> /* for RFHIGHPID */
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_RTL8712
|
||||
#include <rtw_mp_phy_regdef.h>
|
||||
#endif
|
||||
|
@ -1067,17 +1063,6 @@ void SetPacketTx(PADAPTER padapter)
|
|||
if (IS_ERR(pmp_priv->tx.PktTxThread))
|
||||
DBG_88E("Create PktTx Thread Fail !!!!!\n");
|
||||
#endif
|
||||
#ifdef PLATFORM_FREEBSD
|
||||
{
|
||||
struct proc *p;
|
||||
struct thread *td;
|
||||
pmp_priv->tx.PktTxThread = kproc_kthread_add(mp_xmit_packet_thread, pmp_priv,
|
||||
&p, &td, RFHIGHPID, 0, "MPXmitThread", "MPXmitThread");
|
||||
|
||||
if (pmp_priv->tx.PktTxThread < 0)
|
||||
DBG_88E("Create PktTx Thread Fail !!!!!\n");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void SetPacketRx(PADAPTER pAdapter, u8 bStartRx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue