summaryrefslogtreecommitdiff
path: root/sys/dev/ata
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@cvs.openbsd.org>2011-06-06 01:59:50 +0000
committerMatthew Dempsky <matthew@cvs.openbsd.org>2011-06-06 01:59:50 +0000
commit6e39a2bd77cf3ac51f2adf652dcae768edc2cfe7 (patch)
treec01bd810ebe9c0e1bb9e7eb3b2039baee403d1d1 /sys/dev/ata
parent0ddf9163b23aae100b10a712d7b0ec76fb799601 (diff)
Delete the long dead LOCKED and WANTED flags from cd(4), sd(4), and
wd(4). They haven't been used for 10+ years, since the drivers were switched to use disk_lock() and disk_unlock() instead. No binary change.
Diffstat (limited to 'sys/dev/ata')
-rw-r--r--sys/dev/ata/wdvar.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ata/wdvar.h b/sys/dev/ata/wdvar.h
index 856a90cd807..6a118c423f5 100644
--- a/sys/dev/ata/wdvar.h
+++ b/sys/dev/ata/wdvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wdvar.h,v 1.16 2011/06/05 18:40:33 matthew Exp $ */
+/* $OpenBSD: wdvar.h,v 1.17 2011/06/06 01:59:49 matthew Exp $ */
/* $NetBSD: wdvar.h,v 1.3 1998/11/11 19:38:27 bouyer Exp $ */
/*
@@ -72,8 +72,6 @@ struct wd_softc {
int openings;
struct ataparams sc_params;/* drive characteristics found */
int sc_flags;
-#define WDF_LOCKED 0x01
-#define WDF_WANTED 0x02
/*
* XXX Nothing resets this yet, but disk change sensing will when ATA-4 is
* more fully implemented.