mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2025-12-08 07:14:03 +00:00
Remove wrapper rtw_mdelay_os()
This wrapper just calls mdelay(). Remove it. Link: https://lore.kernel.org/r/20210805192644.15978-3-Larry.Finger@lwfinger.net
This commit is contained in:
committed by
Carlos Garcés
parent
5bc12edecb
commit
7f8451a86e
@@ -942,7 +942,7 @@ void halbtc8192e2ant_dac_swing(IN struct btc_coexist *btcoexist,
|
||||
coex_dm->cur_dac_swing_lvl))
|
||||
return;
|
||||
}
|
||||
delay_ms(30);
|
||||
mdelay(30);
|
||||
halbtc8192e2ant_set_sw_full_time_dac_swing(btcoexist, dac_swing_on,
|
||||
dac_swing_lvl);
|
||||
|
||||
@@ -1562,7 +1562,7 @@ void halbtc8192e2ant_ps_tdma(IN struct btc_coexist *btcoexist,
|
||||
break;
|
||||
case 1: /* ANT2BT, 0x778=3 */
|
||||
halbtc8192e2ant_set_fw_pstdma(btcoexist, 0x0, 0x0, 0x0, 0x8, 0x0);
|
||||
delay_ms(5);
|
||||
mdelay(5);
|
||||
halbtc8192e2ant_set_ant_path(btcoexist, BTC_ANT_PATH_BT, false, false);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -29,8 +29,6 @@
|
||||
|
||||
#define DCMD_Printf DBG_BT_INFO
|
||||
|
||||
#define delay_ms(ms) rtw_mdelay_os(ms)
|
||||
|
||||
#ifdef bEnable
|
||||
#undef bEnable
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user