* [PATCH 2.{4,5}.x] mod_timer fix for sdla_x25.c
@ 2003-05-03 14:51 Vinay K Nallamothu
0 siblings, 0 replies; only message in thread
From: Vinay K Nallamothu @ 2003-05-03 14:51 UTC (permalink / raw)
To: eis; +Cc: LKML
sdla_x25.c: trivial {del,add}_timer to mod_timer conversion.
--- linux-2.5.68/drivers/net/wan/sdla_x25.c 2003-03-25 10:07:27.000000000 +0530
+++ linux-2.5.68-nvk/drivers/net/wan/sdla_x25.c 2003-05-03 16:02:35.000000000 +0530
@@ -1224,9 +1224,7 @@
connect(card);
S508_S514_unlock(card, &smp_flags);
- del_timer(&card->u.x.x25_timer);
- card->u.x.x25_timer.expires=jiffies+HZ;
- add_timer(&card->u.x.x25_timer);
+ mod_timer(&card->u.x.x25_timer, jiffies + HZ);
}
}
/* Device is not up until the we are in connected state */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-05-03 14:34 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:51 [PATCH 2.{4,5}.x] mod_timer fix for sdla_x25.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®