* [PATCH 2.{4,5}.x] mod_timer conversions for mptctl.c
@ 2003-05-03 13:50 Vinay K Nallamothu
0 siblings, 0 replies; only message in thread
From: Vinay K Nallamothu @ 2003-05-03 13:50 UTC (permalink / raw)
To: davej; +Cc: LKML
Hi,
Trivial {del,add}_timer to mod_timer conversions.
vinay
--- linux-2.5.68/drivers/message/fusion/mptctl.c 2003-03-25 10:07:57.000000000 +0530
+++ linux-2.5.68-nvk/drivers/message/fusion/mptctl.c 2003-05-03 15:50:42.000000000 +0530
@@ -269,11 +269,8 @@
*/
iocStatus = reply->u.reply.IOCStatus & MPI_IOCSTATUS_MASK;
if (iocStatus == MPI_IOCSTATUS_SCSI_TASK_MGMT_FAILED) {
- if (ioc->ioctl->status & MPT_IOCTL_STATUS_TIMER_ACTIVE) {
- del_timer (&ioc->ioctl->timer);
- ioc->ioctl->timer.expires = jiffies + HZ;
- add_timer(&ioc->ioctl->timer);
- }
+ if (ioc->ioctl->status & MPT_IOCTL_STATUS_TIMER_ACTIVE)
+ mod_timer(&ioc->ioctl->timer, jiffies + HZ);
}
ioc->ioctl->tmPtr = NULL;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-05-03 13:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-03 13:50 [PATCH 2.{4,5}.x] mod_timer conversions for mptctl.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).