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:
Larry Finger
2021-08-05 14:26:41 -05:00
committed by Carlos Garcés
parent 5bc12edecb
commit 7f8451a86e
18 changed files with 42 additions and 92 deletions

View File

@@ -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;
}

View File

@@ -29,8 +29,6 @@
#define DCMD_Printf DBG_BT_INFO
#define delay_ms(ms) rtw_mdelay_os(ms)
#ifdef bEnable
#undef bEnable
#endif