Commit 208aefa2 authored by Christophe Jaillet's avatar Christophe Jaillet Committed by Jeff Garzik

drivers/net/r6040.c: correct bad use of round_jiffies()

Compared to other places in the kernel, I think that this driver misuses
the function round_jiffies.
Signed-off-by: default avatarChristophe Jaillet <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 8b983510
...@@ -733,7 +733,7 @@ static void r6040_timer(unsigned long data) ...@@ -733,7 +733,7 @@ static void r6040_timer(unsigned long data)
} }
/* Timer active again */ /* Timer active again */
mod_timer(&lp->timer, jiffies + round_jiffies(HZ)); mod_timer(&lp->timer, round_jiffies(jiffies + HZ));
} }
/* Read/set MAC address routines */ /* Read/set MAC address routines */
......
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