summaryrefslogtreecommitdiff
path: root/sys/scsi/sd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/scsi/sd.c')
-rw-r--r--sys/scsi/sd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c
index f504840f75e..51448cdb7dc 100644
--- a/sys/scsi/sd.c
+++ b/sys/scsi/sd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sd.c,v 1.103 2006/03/05 14:58:10 krw Exp $ */
+/* $OpenBSD: sd.c,v 1.104 2006/03/15 20:20:42 miod Exp $ */
/* $NetBSD: sd.c,v 1.111 1997/04/02 02:29:41 mycroft Exp $ */
/*-
@@ -189,8 +189,6 @@ sdattach(parent, self, aux)
sd->sc_dk.dk_name = sd->sc_dev.dv_xname;
disk_attach(&sd->sc_dk);
- dk_establish(&sd->sc_dk, &sd->sc_dev);
-
if ((sc_link->flags & SDEV_ATAPI) && (sc_link->flags & SDEV_REMOVABLE))
sc_link->quirks |= SDEV_NOSYNCCACHE;