summaryrefslogtreecommitdiff
path: root/sys/scsi/cd.c
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/scsi/cd.c
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/scsi/cd.c')
-rw-r--r--sys/scsi/cd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c
index c53e8b7171c..9c9fb63a405 100644
--- a/sys/scsi/cd.c
+++ b/sys/scsi/cd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cd.c,v 1.201 2011/06/05 18:40:33 matthew Exp $ */
+/* $OpenBSD: cd.c,v 1.202 2011/06/06 01:59:49 matthew Exp $ */
/* $NetBSD: cd.c,v 1.100 1997/04/02 02:29:30 mycroft Exp $ */
/*
@@ -100,8 +100,6 @@ struct cd_softc {
struct disk sc_dk;
int sc_flags;
-#define CDF_LOCKED 0x01
-#define CDF_WANTED 0x02
#define CDF_ANCIENT 0x10 /* disk is ancient; for minphys */
#define CDF_DYING 0x40 /* dying, when deactivated */
#define CDF_WAITING 0x100