diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2008-11-25 18:10:01 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2008-11-25 18:10:01 +0000 |
commit | 88e839f1e7798d770109d9b3c5cf069a2e9bc223 (patch) | |
tree | 38733abd5e1173339cc52378c49c3d5c9af694de /sys/dev | |
parent | c88af1981f4e0cf44157c3039fbfce8583582140 (diff) |
dontqueue is set but never used. garbage collect it.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/aic79xx_openbsd.c | 6 | ||||
-rw-r--r-- | sys/dev/ic/aic7xxx_openbsd.c | 6 |
2 files changed, 2 insertions, 10 deletions
diff --git a/sys/dev/ic/aic79xx_openbsd.c b/sys/dev/ic/aic79xx_openbsd.c index 85bc59da26e..1185218ad77 100644 --- a/sys/dev/ic/aic79xx_openbsd.c +++ b/sys/dev/ic/aic79xx_openbsd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aic79xx_openbsd.c,v 1.29 2008/11/24 00:31:35 krw Exp $ */ +/* $OpenBSD: aic79xx_openbsd.c,v 1.30 2008/11/25 18:10:00 krw Exp $ */ /* * Copyright (c) 2004 Milos Urbanek, Kenneth R. Westerback & Marco Peereboom @@ -308,7 +308,6 @@ ahd_action(struct scsi_xfer *xs) u_int target_id; u_int our_id; int s; - int dontqueue = 0; struct ahd_initiator_tinfo *tinfo; struct ahd_tmode_tstate *tstate; u_int col_idx; @@ -317,9 +316,6 @@ ahd_action(struct scsi_xfer *xs) SC_DEBUG(xs->sc_link, SDEV_DB3, ("ahd_action\n")); ahd = (struct ahd_softc *)xs->sc_link->adapter_softc; - /* determine safety of software queueing */ - dontqueue = xs->flags & SCSI_POLL; - target_id = xs->sc_link->target; our_id = SCSI_SCSI_ID(ahd, xs->sc_link); diff --git a/sys/dev/ic/aic7xxx_openbsd.c b/sys/dev/ic/aic7xxx_openbsd.c index f84fa89c73e..8e5b4937d15 100644 --- a/sys/dev/ic/aic7xxx_openbsd.c +++ b/sys/dev/ic/aic7xxx_openbsd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aic7xxx_openbsd.c,v 1.39 2008/11/24 00:31:35 krw Exp $ */ +/* $OpenBSD: aic7xxx_openbsd.c,v 1.40 2008/11/25 18:10:00 krw Exp $ */ /* $NetBSD: aic7xxx_osm.c,v 1.14 2003/11/02 11:07:44 wiz Exp $ */ /* @@ -309,14 +309,10 @@ ahc_action(struct scsi_xfer *xs) u_int target_id; u_int our_id; int s; - int dontqueue = 0; SC_DEBUG(xs->sc_link, SDEV_DB3, ("ahc_action\n")); ahc = (struct ahc_softc *)xs->sc_link->adapter_softc; - /* determine safety of software queueing */ - dontqueue = xs->flags & SCSI_POLL; - target_id = xs->sc_link->target; our_id = SCSI_SCSI_ID(ahc, xs->sc_link); |