linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2.{4,5}.x] mod_timer fix for sdla_ppp.c
@ 2003-05-03 14:43 Vinay K Nallamothu
  0 siblings, 0 replies; only message in thread
From: Vinay K Nallamothu @ 2003-05-03 14:43 UTC (permalink / raw)
  To: davej; +Cc: LKML

sdla_ppp.c: trivial {del,add}_timer to mod_timer conversions.

--- linux-2.5.68/drivers/net/wan/sdla_ppp.c	2003-03-25 10:07:27.000000000 +0530
+++ linux-2.5.68-nvk/drivers/net/wan/sdla_ppp.c	2003-05-03 16:02:05.000000000 +0530
@@ -758,9 +758,7 @@
 	/* Start the PPP configuration after 1sec delay.
 	 * This will give the interface initilization time
 	 * to finish its configuration */
-	del_timer(&ppp_priv_area->poll_delay_timer);
-	ppp_priv_area->poll_delay_timer.expires = jiffies+HZ;
-	add_timer(&ppp_priv_area->poll_delay_timer);
+	mod_timer(&ppp_priv_area->poll_delay_timer, jiffies + HZ);
 	return 0;
 }
 




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-03 14:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-03 14:43 [PATCH 2.{4,5}.x] mod_timer fix for sdla_ppp.c Vinay K Nallamothu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).