one more jiffies cleanup to use the comparison macros along the lines
Andreas Dilger already pointed out on lkml. I intend to post several
patches like this one in the future as time permits.
Tim
--- ../linux-2.4.14-pre6/drivers/net/ppp_async.c Sun Sep 30 21:26:07 2001
+++ drivers/net/ppp_async.c Tue Nov 6 20:27:28 2001
@@ -497,7 +497,7 @@
* character if necessary.
*/
if (islcp || flag_time == 0
- || jiffies - ap->last_xmit >= flag_time)
+ || time_after_eq(jiffies, ap->last_xmit + flag_time))
*buf++ = PPP_FLAG;
ap->last_xmit = jiffies;
fcs = PPP_INITFCS;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/