summaryrefslogtreecommitdiff
path: root/sys/dev/ata/wd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ata/wd.c')
-rw-r--r--sys/dev/ata/wd.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/ata/wd.c b/sys/dev/ata/wd.c
index 0184b8f1c9a..596d160829b 100644
--- a/sys/dev/ata/wd.c
+++ b/sys/dev/ata/wd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wd.c,v 1.88 2010/07/23 07:47:13 jsg Exp $ */
+/* $OpenBSD: wd.c,v 1.89 2010/08/28 20:23:22 matthew Exp $ */
/* $NetBSD: wd.c,v 1.193 1999/02/28 17:15:27 explorer Exp $ */
/*
@@ -177,8 +177,6 @@ void wd_flushcache(struct wd_softc *, int);
void wd_standby(struct wd_softc *, int);
void wd_shutdown(void *);
-struct dkdriver wddkdriver = { wdstrategy };
-
/* XXX: these should go elsewhere */
cdev_decl(wd);
bdev_decl(wd);
@@ -362,7 +360,6 @@ wdattach(struct device *parent, struct device *self, void *aux)
/*
* Initialize disk structures.
*/
- wd->sc_dk.dk_driver = &wddkdriver;
wd->sc_dk.dk_name = wd->sc_dev.dv_xname;
wd->sc_bufq = bufq_init(BUFQ_DEFAULT);
wd->sc_sdhook = shutdownhook_establish(wd_shutdown, wd);