diff options
author | Christophe Jaillet <christophe.jaillet@wanadoo.fr> | 2008-05-15 23:26:22 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-06-11 22:25:38 -0400 |
commit | 208aefa2451cc1f4d87622cb9b2ca4333afa8337 (patch) | |
tree | 291fb8c4fcbb8f1edc2c2e1b144584fefd0b7f9b /drivers | |
parent | 8b9835108f68938a5f7e74fd2c0fc65da2abad92 (diff) | |
download | op-kernel-dev-208aefa2451cc1f4d87622cb9b2ca4333afa8337.zip op-kernel-dev-208aefa2451cc1f4d87622cb9b2ca4333afa8337.tar.gz |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/r6040.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/r6040.c b/drivers/net/r6040.c index 169edc1..858b191 100644 --- a/drivers/net/r6040.c +++ b/drivers/net/r6040.c @@ -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 */ |