* [PATCH 2.{4,5}.x] mod_timer fix for synclink.c
@ 2003-05-03 14:57 Vinay K Nallamothu
0 siblings, 0 replies; only message in thread
From: Vinay K Nallamothu @ 2003-05-03 14:57 UTC (permalink / raw)
To: davej; +Cc: LKML
synclink.c: trivial {del,add}_timer to mod_timer conversion.
--- linux-2.5.68/drivers/char/synclink.c 2003-03-25 10:07:40.000000000 +0530
+++ linux-2.5.68-nvk/drivers/char/synclink.c 2003-05-03 15:43:24.000000000 +0530
@@ -4278,9 +4278,7 @@
info->get_tx_holding_index=0;
/* restart transmit timer */
- del_timer(&info->tx_timer);
- info->tx_timer.expires = jiffies + jiffies_from_ms(5000);
- add_timer(&info->tx_timer);
+ mod_timer(&info->tx_timer, jiffies + jiffies_from_ms(5000));
ret = 1;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-05-03 14:40 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:57 [PATCH 2.{4,5}.x] mod_timer fix for synclink.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).