From 7135060ce35963663c8a26d3436ecce2bc4957d4 Mon Sep 17 00:00:00 2001 From: "Justin T. Gibbs" Date: Fri, 2 Oct 1998 03:40:53 +0000 Subject: [PATCH] Remove a spurious, but benign statement. Correct some panic and printf strings that referenced the 'bt' driver. I should be more careful when I Cut 'n Paste. --- sys/dev/dpt/dpt_scsi.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/sys/dev/dpt/dpt_scsi.c b/sys/dev/dpt/dpt_scsi.c index 286bd26734d6..75dad1a5106b 100644 --- a/sys/dev/dpt/dpt_scsi.c +++ b/sys/dev/dpt/dpt_scsi.c @@ -43,7 +43,7 @@ * arrays that span controllers (Wow!). */ -#ident "$Id: dpt_scsi.c,v 1.15 1998/09/20 07:19:53 gibbs Exp $" +#ident "$Id: dpt_scsi.c,v 1.16 1998/09/22 04:55:07 gibbs Exp $" #define _DPT_C_ @@ -835,7 +835,6 @@ dpt_action(struct cam_sim *sim, union ccb *ccb) */ xpt_freeze_simq(sim, 1); dccb->state |= CAM_RELEASE_SIMQ; - CAM_RELEASE_SIMQ; } splx(s); } else { @@ -851,18 +850,17 @@ dpt_action(struct cam_sim *sim, union ccb *ccb) struct bus_dma_segment *segs; if ((ccbh->flags & CAM_DATA_PHYS) != 0) - panic("btaction - Physical " + panic("dpt_action - Physical " "segment pointers " "unsupported"); if ((ccbh->flags&CAM_SG_LIST_PHYS)==0) - panic("btaction - Virtual " + panic("dpt_action - Virtual " "segment addresses " "unsupported"); /* Just use the segments provided */ - segs = (struct bus_dma_segment *) - csio->data_ptr; + segs = (struct bus_dma_segment *)csio->data_ptr; dptexecuteccb(dccb, segs, csio->sglist_cnt, 0); } } else {