diff options
author | Matthew Dempsky <matthew@cvs.openbsd.org> | 2010-08-28 20:23:23 +0000 |
---|---|---|
committer | Matthew Dempsky <matthew@cvs.openbsd.org> | 2010-08-28 20:23:23 +0000 |
commit | 615a8710cea5da5b47105f79d08883bc686741ba (patch) | |
tree | e811cd629c063f4aa198f39236b52054a77b8b5d /sys/scsi/cd.c | |
parent | 352cdfe2491abe959844953ffe3c7312f26fe9ae (diff) |
Garbage collect struct dkdriver.
ok miod@; "please go ahead" jsing@
Diffstat (limited to 'sys/scsi/cd.c')
-rw-r--r-- | sys/scsi/cd.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c index 2f599259537..dfdef0f0f1a 100644 --- a/sys/scsi/cd.c +++ b/sys/scsi/cd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cd.c,v 1.181 2010/07/28 23:47:43 krw Exp $ */ +/* $OpenBSD: cd.c,v 1.182 2010/08/28 20:23:22 matthew Exp $ */ /* $NetBSD: cd.c,v 1.100 1997/04/02 02:29:30 mycroft Exp $ */ /* @@ -161,8 +161,6 @@ struct cfdriver cd_cd = { NULL, "cd", DV_DISK }; -struct dkdriver cddkdriver = { cdstrategy }; - const struct scsi_inquiry_pattern cd_patterns[] = { {T_CDROM, T_REMOV, "", "", ""}, @@ -217,7 +215,6 @@ cdattach(struct device *parent, struct device *self, void *aux) /* * Initialize disk structures. */ - sc->sc_dk.dk_driver = &cddkdriver; sc->sc_dk.dk_name = sc->sc_dev.dv_xname; sc->sc_bufq = bufq_init(BUFQ_DEFAULT); |