Remove wrapper routine rtw_msleep_os()

The effect of this macro is to call msleep(). Remove the wrapper.

Link: https://lore.kernel.org/r/20210805192644.15978-2-Larry.Finger@lwfinger.net
This commit is contained in:
Larry Finger
2021-08-05 14:26:40 -05:00
committed by Carlos Garcés
parent 1fcfef2e07
commit fdbea81f08
25 changed files with 105 additions and 132 deletions

View File

@@ -4207,7 +4207,7 @@ phy_ConfigBBWithParaFile(
break;
} else if (u4bRegOffset == 0xfe || u4bRegOffset == 0xffe) {
#ifdef CONFIG_LONG_DELAY_ISSUE
rtw_msleep_os(50);
msleep(50);
#else
rtw_mdelay_os(50);
#endif
@@ -4555,7 +4555,7 @@ phy_ConfigBBWithMpParaFile(
break;
} else if (u4bRegOffset == 0xfe || u4bRegOffset == 0xffe) {
#ifdef CONFIG_LONG_DELAY_ISSUE
rtw_msleep_os(50);
msleep(50);
#else
rtw_mdelay_os(50);
#endif
@@ -4669,7 +4669,7 @@ PHY_ConfigRFWithParaFile(
if (u4bRegOffset == 0xfe || u4bRegOffset == 0xffe) {
/* Deay specific ms. Only RF configuration require delay. */
#ifdef CONFIG_LONG_DELAY_ISSUE
rtw_msleep_os(50);
msleep(50);
#else
rtw_mdelay_os(50);
#endif