Remove wrapper rtw_udelay_os()

This wrapper is a simple call to udelay(). Remove it.

Link: https://lore.kernel.org/r/20210805192644.15978-4-Larry.Finger@lwfinger.net
This commit is contained in:
Larry Finger
2021-08-05 14:26:42 -05:00
committed by Carlos Garcés
parent 7f8451a86e
commit a5adfa895b
14 changed files with 37 additions and 94 deletions

View File

@@ -410,7 +410,7 @@ static void _halmac_udelay(void *p, u32 us)
{
/* Most hardware polling wait time < 50us) */
if (us <= 50)
rtw_udelay_os(us);
udelay(us);
else if (us <= 1000)
rtw_usleep_os(us);
else