Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F158015342
D35039.id105407.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
563 B
Referenced Files
None
Subscribers
None
D35039.id105407.diff
View Options
diff --git a/sys/cam/ata/ata_da.c b/sys/cam/ata/ata_da.c
--- a/sys/cam/ata/ata_da.c
+++ b/sys/cam/ata/ata_da.c
@@ -1377,10 +1377,6 @@
cam_periph_async(periph, code, path, arg);
if (softc->state != ADA_STATE_NORMAL)
break;
- memset(&cgd, 0, sizeof(cgd));
- xpt_setup_ccb(&cgd.ccb_h, periph->path, CAM_PRIORITY_NORMAL);
- cgd.ccb_h.func_code = XPT_GDEV_TYPE;
- xpt_action((union ccb *)&cgd);
if (ADA_RA >= 0 && softc->flags & ADA_FLAG_CAN_RAHEAD)
softc->state = ADA_STATE_RAHEAD;
else if (ADA_WC >= 0 && softc->flags & ADA_FLAG_CAN_WCACHE)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, May 28, 12:40 PM (27 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33586268
Default Alt Text
D35039.id105407.diff (563 B)
Attached To
Mode
D35039: ada: Eliminate dead code
Attached
Detach File
Event Timeline
Log In to Comment