Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152524193
D19168.id172397.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
984 B
Referenced Files
None
Subscribers
None
D19168.id172397.diff
View Options
diff --git a/sys/dev/pms/freebsd/driver/ini/src/osapi.c b/sys/dev/pms/freebsd/driver/ini/src/osapi.c
--- a/sys/dev/pms/freebsd/driver/ini/src/osapi.c
+++ b/sys/dev/pms/freebsd/driver/ini/src/osapi.c
@@ -166,8 +166,9 @@
/* TODO: call Soft reset here */
}
}
- else if (eventStatus == tiTMFailed)
- {
+ }
+ else if (eventStatus == tiTMFailed)
+ {
ccbIO = pccb->pccbIO;
if (ccbIO->startTime == 0) /* IO has been completed. */
{
@@ -182,10 +183,9 @@
/* if TM_ABORT_TASK, call TM_TARGET_RESET */
/* if TM_TARGET_RESET, call Soft_Reset */
}
- }
- /* Free TM_DEV_RESET ccb */
- agtiapi_FreeTMCCB(pCard, pccb);
}
+ /* Free TM_DEV_RESET ccb */
+ agtiapi_FreeTMCCB(pCard, pccb);
}
break;
case tiIntrEventTypeLocalAbort:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 16, 11:56 AM (6 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28944639
Default Alt Text
D19168.id172397.diff (984 B)
Attached To
Mode
D19168: CID 1332078: Logically dead code in sys/dev/pms/freebsd/driver/ini/src/osapi.c
Attached
Detach File
Event Timeline
Log In to Comment