summaryrefslogtreecommitdiff
path: root/src/lib/delay.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/delay.c')
-rw-r--r--src/lib/delay.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/delay.c b/src/lib/delay.c
index f9703cb05a..5c0916f349 100644
--- a/src/lib/delay.c
+++ b/src/lib/delay.c
@@ -2,14 +2,12 @@
void mdelay(unsigned int msecs)
{
unsigned int i;
- for(i = 0; i < msecs; i++) {
+ for(i = 0; i < msecs; i++)
udelay(1000);
- }
}
void delay(unsigned int secs)
{
unsigned int i;
- for(i = 0; i < secs; i++) {
+ for(i = 0; i < secs; i++)
mdelay(1000);
- }
}