]> bbs.cooldavid.org Git - net-next-2.6.git/commit
drivers/net/arcnet/arcnet.c: use time_* macros
authorS.Caglar Onur <caglar@pardus.org.tr>
Fri, 28 Mar 2008 21:41:24 +0000 (14:41 -0700)
committerJeff Garzik <jeff@garzik.org>
Sat, 29 Mar 2008 02:14:15 +0000 (22:14 -0400)
commit9307b570a745da4f2d83195f5337927e98221bb2
treeb07632eee7e40683c2977164d822ef262ab406d6
parentac4bed1375c06af7c76b4615ae661791b62e93ef
drivers/net/arcnet/arcnet.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/arcnet/arcnet.c
include/linux/arcdevice.h