summaryrefslogtreecommitdiff
path: root/sys/dev/isa/fd.c
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@cvs.openbsd.org>2010-08-28 20:23:23 +0000
committerMatthew Dempsky <matthew@cvs.openbsd.org>2010-08-28 20:23:23 +0000
commit615a8710cea5da5b47105f79d08883bc686741ba (patch)
treee811cd629c063f4aa198f39236b52054a77b8b5d /sys/dev/isa/fd.c
parent352cdfe2491abe959844953ffe3c7312f26fe9ae (diff)
Garbage collect struct dkdriver.
ok miod@; "please go ahead" jsing@
Diffstat (limited to 'sys/dev/isa/fd.c')
-rw-r--r--sys/dev/isa/fd.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/isa/fd.c b/sys/dev/isa/fd.c
index 1fac90cbff9..0244d952f27 100644
--- a/sys/dev/isa/fd.c
+++ b/sys/dev/isa/fd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fd.c,v 1.85 2010/05/18 04:41:14 dlg Exp $ */
+/* $OpenBSD: fd.c,v 1.86 2010/08/28 20:23:22 matthew Exp $ */
/* $NetBSD: fd.c,v 1.90 1996/05/12 23:12:03 mycroft Exp $ */
/*-
@@ -146,8 +146,6 @@ void fdstrategy(struct buf *);
void fdstart(struct fd_softc *);
int fdintr(struct fdc_softc *);
-struct dkdriver fddkdriver = { fdstrategy };
-
void fd_set_motor(struct fdc_softc *fdc, int reset);
void fd_motor_off(void *arg);
void fd_motor_on(void *arg);
@@ -306,7 +304,6 @@ fdattach(parent, self, aux)
* Initialize and attach the disk structure.
*/
fd->sc_dk.dk_name = fd->sc_dev.dv_xname;
- fd->sc_dk.dk_driver = &fddkdriver;
disk_attach(&fd->sc_dk);
/* Needed to power off if the motor is on when we halt. */