Skip to content

Commit

Permalink
drivers/net/r6040.c: correct bad use of round_jiffies()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christophe Jaillet authored and Jeff Garzik committed Jun 12, 2008
1 parent 8b98351 commit 208aefa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/r6040.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 208aefa

Please sign in to comment.