diff options
Diffstat (limited to 'sys/dev/ata/atapi-all.c')
-rw-r--r-- | sys/dev/ata/atapi-all.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/ata/atapi-all.c b/sys/dev/ata/atapi-all.c index 56103cf77d395..075081d7844f2 100644 --- a/sys/dev/ata/atapi-all.c +++ b/sys/dev/ata/atapi-all.c @@ -237,13 +237,6 @@ atapi_transfer(struct atapi_request *request) if (request->ccb[0] != ATAPI_REQUEST_SENSE) atp->cmd = request->ccb[0]; - /* flag if we can trust the DSC bit */ - if (request->ccb[0] == ATAPI_READ || request->ccb[0] == ATAPI_READ_BIG || - request->ccb[0] == ATAPI_WRITE || request->ccb[0] == ATAPI_WRITE_BIG) - atp->flags |= ATAPI_F_DSC_USED; - else - atp->flags &= ~ATAPI_F_DSC_USED; - /* if DMA enabled setup DMA hardware */ request->flags &= ~ATPR_F_DMA_USED; if ((atp->controller->mode[ATA_DEV(atp->unit)] >= ATA_DMA) && |