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

@@ -9016,7 +9016,7 @@ bool rtw_read_from_frame_mask(_adapter *adapter, u8 idx)
do {
tmp = rtw_read8(adapter, REG_RXPKTBUF_CTRL);
rtw_udelay_os(2);
udelay(2);
count++;
} while (!tmp && count < 100);
@@ -9127,7 +9127,7 @@ bool rtw_write_to_frame_mask(_adapter *adapter, u8 idx,
count = 0;
do {
tmp = rtw_read8(adapter, REG_RXPKTBUF_CTRL);
rtw_udelay_os(2);
udelay(2);
count++;
} while (tmp && count < 100);