From 771d7df4a6700f357385d317c5b686ac4f17bfc3 Mon Sep 17 00:00:00 2001 From: bde Date: Tue, 21 Nov 1995 08:35:49 +0000 Subject: Fixed replication error so that this compiles again. Removed bogus comment and useless braces. --- sys/scsi/sctarg.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sys/scsi/sctarg.c') diff --git a/sys/scsi/sctarg.c b/sys/scsi/sctarg.c index e7346a1..b7498f5 100644 --- a/sys/scsi/sctarg.c +++ b/sys/scsi/sctarg.c @@ -37,7 +37,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: sctarg.c,v 1.4 1995/07/13 16:08:57 bde Exp $ + * $Id: sctarg.c,v 1.5 1995/11/19 22:22:25 dyson Exp $ */ /* @@ -191,10 +191,9 @@ sctargstart(unit, unused_flags) } bp = sctarg->buf_queue.tqh_first; - if (bp == NULL) { /* yes, an assign */ + if (bp == NULL) return; - } - TAILQ_REMOVE( &pt->buf_queue, bp, b_act); + TAILQ_REMOVE(&sctarg->buf_queue, bp, b_act); /* * Fill out the scsi command -- cgit v1.1