]> bbs.cooldavid.org Git - net-next-2.6.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)
commitb7aa69097acb86c118edaa5e339b714617062dfe
treec5843c8056f5c17e100f8337519cf11bc6611537
parent9307b570a745da4f2d83195f5337927e98221bb2
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