summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2010-05-19 05:50:51 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2010-05-19 05:50:51 +0000
commit64b96cb04dbe88ac3c18b7fd57f1a0b522795cd2 (patch)
treee7b7761f88da87ffc2f4cbf6b463c66907c9bacf /sys
parent47bed35fd8f196ccca8ce301134cb9e910ad53b1 (diff)
remove unused flag.
Diffstat (limited to 'sys')
-rw-r--r--sys/scsi/sd.c3
-rw-r--r--sys/scsi/sdvar.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c
index 482872c94e9..8870ed4ad5b 100644
--- a/sys/scsi/sd.c
+++ b/sys/scsi/sd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sd.c,v 1.188 2010/05/19 05:29:14 dlg Exp $ */
+/* $OpenBSD: sd.c,v 1.189 2010/05/19 05:50:50 dlg Exp $ */
/* $NetBSD: sd.c,v 1.111 1997/04/02 02:29:41 mycroft Exp $ */
/*-
@@ -744,7 +744,6 @@ sd_buf_done(struct scsi_xfer *xs)
bp->b_flags & B_READ);
scsi_buf_requeue(&sc->sc_buf_queue, bp, &sc->sc_buf_mtx);
scsi_xs_put(xs);
- SET(sc->flags, SDF_WAITING); /* break out of sdstart loop */
timeout_add(&sc->sc_timeout, 1);
return;
diff --git a/sys/scsi/sdvar.h b/sys/scsi/sdvar.h
index ac0f62046c4..4fdefa1d725 100644
--- a/sys/scsi/sdvar.h
+++ b/sys/scsi/sdvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sdvar.h,v 1.28 2010/04/06 00:59:50 dlg Exp $ */
+/* $OpenBSD: sdvar.h,v 1.29 2010/05/19 05:50:50 dlg Exp $ */
/* $NetBSD: sdvar.h,v 1.7 1998/08/17 00:49:03 mycroft Exp $ */
/*-
@@ -60,7 +60,6 @@ struct sd_softc {
#define SDF_ANCIENT 0x10 /* disk is ancient; for minphys */
#define SDF_DIRTY 0x20 /* disk is dirty; needs cache flush */
#define SDF_DYING 0x40 /* dying, when deactivated */
-#define SDF_WAITING 0x80 /* bus is busy, try again later */
struct scsi_link *sc_link; /* contains our targ, lun, etc. */
struct disk_parms {
u_long heads; /* number of heads */