summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata/ata-disk.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-01-30 19:43:50 +0000
committerphk <phk@FreeBSD.org>2003-01-30 19:43:50 +0000
commit837e7af52d371a9aed321a1e835dd3cd2214e0ef (patch)
treefede0307ee3cf5a31e9b72e17112724db41d6104 /sys/dev/ata/ata-disk.c
parent0d05e0d7d3f094135336a269e9188cb2b1484395 (diff)
downloadFreeBSD-src-837e7af52d371a9aed321a1e835dd3cd2214e0ef.zip
FreeBSD-src-837e7af52d371a9aed321a1e835dd3cd2214e0ef.tar.gz
NO_GEOM cleanup: retire disk_invalidate()
Diffstat (limited to 'sys/dev/ata/ata-disk.c')
-rw-r--r--sys/dev/ata/ata-disk.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/ata/ata-disk.c b/sys/dev/ata/ata-disk.c
index af172f0..49f2062 100644
--- a/sys/dev/ata/ata-disk.c
+++ b/sys/dev/ata/ata-disk.c
@@ -254,7 +254,6 @@ ad_detach(struct ata_device *atadev, int flush) /* get rid of flush XXX SOS */
bioq_remove(&adp->queue, bp);
biofinish(bp, NULL, ENXIO);
}
- disk_invalidate(&adp->disk);
disk_destroy(adp->dev);
devstat_remove_entry(&adp->stats);
if (flush) {
OpenPOWER on IntegriCloud