Page MenuHomeFreeBSD

D35039.id105407.diff
No OneTemporary

D35039.id105407.diff

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

Mime Type
text/plain
Expires
Mon, Dec 16, 12:46 AM (21 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15420996
Default Alt Text
D35039.id105407.diff (563 B)

Event Timeline