summaryrefslogtreecommitdiff
path: root/sys/scsi/cd.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2005-07-02 15:39:56 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2005-07-02 15:39:56 +0000
commitb844116fd310c83b3295f94c2277be405793ff96 (patch)
tree257406d46292ea665fe85f2d21f1160f06ae6ace /sys/scsi/cd.h
parent2b9bc19f0032362cd4ad45f276fb2e870b975452 (diff)
Remove unused cd_softc.name field. Use the saved INQUIRY data in
scsi_link to determine device type, rather than keeping a copy in sd_softc.type. Remove unused sd_softc.type field.
Diffstat (limited to 'sys/scsi/cd.h')
-rw-r--r--sys/scsi/cd.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/scsi/cd.h b/sys/scsi/cd.h
index 392bfc26f8c..b3ff7050a68 100644
--- a/sys/scsi/cd.h
+++ b/sys/scsi/cd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cd.h,v 1.7 2005/06/27 18:17:57 krw Exp $ */
+/* $OpenBSD: cd.h,v 1.8 2005/07/02 15:39:55 krw Exp $ */
/* $NetBSD: scsi_cd.h,v 1.6 1996/03/19 03:06:39 mycroft Exp $ */
/*
@@ -235,7 +235,6 @@ struct cd_softc {
struct cd_parms orig_params; /* filled in when CD-DA mode starts */
#endif
struct buf buf_queue;
- char name[16]; /* product name, for default disklabel */
#if NRND > 0
rndsource_element_t rnd_source;