summaryrefslogtreecommitdiffstats
path: root/sys/cam
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-01-24 01:46:57 +0000
committerjhb <jhb@FreeBSD.org>2001-01-24 01:46:57 +0000
commit4fe63e40a8d579232a3c26ae2d1da79ec8e4c0ff (patch)
treea806d08d1530c385eab5efa9a926165bea3b8e84 /sys/cam
parentc7124acea75b2ea4da24585ae705c984fb144d89 (diff)
downloadFreeBSD-src-4fe63e40a8d579232a3c26ae2d1da79ec8e4c0ff.zip
FreeBSD-src-4fe63e40a8d579232a3c26ae2d1da79ec8e4c0ff.tar.gz
#ifdef a local variable only used in debugging code.
Reviewed by: -scsi
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/scsi/scsi_low.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/cam/scsi/scsi_low.c b/sys/cam/scsi/scsi_low.c
index ceebd92..a9a1ae6 100644
--- a/sys/cam/scsi/scsi_low.c
+++ b/sys/cam/scsi/scsi_low.c
@@ -2083,7 +2083,10 @@ scsi_low_synch(ti)
{
struct scsi_low_softc *slp = ti->ti_sc;
struct lun_info *li = ti->ti_li;
- u_int period = 0, offset = 0, speed;
+ u_int period = 0, offset = 0;
+#ifdef SCSI_LOW_INFORM
+ u_int speed;
+#endif
u_char *s;
int error;
OpenPOWER on IntegriCloud