]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/net/tokenring/3c359.c: use time_* macros
authorS.Caglar Onur <caglar@pardus.org.tr>
Fri, 28 Mar 2008 21:41:25 +0000 (14:41 -0700)
committerJeff Garzik <jeff@garzik.org>
Sat, 29 Mar 2008 02:14:20 +0000 (22:14 -0400)
commitd7f6dee887ee343a2743d655e2f6e5793b3bac07
treec5843c8056f5c17e100f8337519cf11bc6611537
parent5aa8529e25274eeb85e6fa578d29330fe747e74a
drivers/net/tokenring/3c359.c: use time_* macros

The functions time_before, time_before_eq, time_after, and time_after_eq are
more robust for comparing jiffies against other values.

So use the time_after() macro, defined in linux/jiffies.h, which deals with
wrapping correctly.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: S.Caglar Onur <caglar@pardus.org.tr>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/tokenring/3c359.c