Commit 8605b3aa authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman

Staging: comedi: replace for loop with msleep()

Replace 2 attempts to use a for loop as a sleep with a call to msleep().
Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent fcea1154
......@@ -180,7 +180,7 @@ int i_AddiHeaderRW_ReadEeprom(int i_NbOfWordsToRead,
}
/* Sleep */
for (i = 0; i < 10000; i++) ;
msleep(1);
}
w_ReadWord =
......
......@@ -224,7 +224,7 @@ int i_AddiHeaderRW_ReadEeprom(int i_NbOfWordsToRead,
/* Sleep */
for (i = 0; i < 10000; i++) ;
msleep(1);
}
w_ReadWord =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment