mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-11 16:29:05 +00:00
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: Christophe Jaillet <christophe.jaillet@wanadoo.fr> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
parent
8b9835108f
commit
208aefa245
@ -733,7 +733,7 @@ static void r6040_timer(unsigned long data)
|
||||
}
|
||||
|
||||
/* Timer active again */
|
||||
mod_timer(&lp->timer, jiffies + round_jiffies(HZ));
|
||||
mod_timer(&lp->timer, round_jiffies(jiffies + HZ));
|
||||
}
|
||||
|
||||
/* Read/set MAC address routines */
|
||||
|
Loading…
x
Reference in New Issue
Block a user