* [PATCH 2.{4,5}.x] trivial mod_timer fixes for sdla_chdlc.c
@ 2003-05-03 14:31 Vinay K Nallamothu
0 siblings, 0 replies; only message in thread
From: Vinay K Nallamothu @ 2003-05-03 14:31 UTC (permalink / raw)
To: dm; +Cc: LKML
sdla_chdlc.c: trivial {del,add}_timer to mod_timer conversion.
--- linux-2.5.68/drivers/net/wan/sdla_chdlc.c 2003-04-21 10:14:28.000000000 +0530
+++ linux-2.5.68-nvk/drivers/net/wan/sdla_chdlc.c 2003-05-03 15:59:23.000000000 +0530
@@ -998,13 +998,11 @@
set_bit(0,&chdlc_priv_area->config_chdlc);
chdlc_priv_area->config_chdlc_timeout=jiffies;
- del_timer(&chdlc_priv_area->poll_delay_timer);
/* Start the CHDLC configuration after 1sec delay.
* This will give the interface initilization time
* to finish its configuration */
- chdlc_priv_area->poll_delay_timer.expires=jiffies+HZ;
- add_timer(&chdlc_priv_area->poll_delay_timer);
+ mod_timer(&chdlc_priv_area->poll_delay_timer, jiffies + HZ);
return err;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-05-03 14:14 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:31 [PATCH 2.{4,5}.x] trivial mod_timer fixes for sdla_chdlc.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
all inboxes | Powered by JetHome®