summaryrefslogtreecommitdiffstats
path: root/sys/dev/mfi
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2006-10-16 04:30:09 +0000
committerscottl <scottl@FreeBSD.org>2006-10-16 04:30:09 +0000
commitc2c8b23410dc0e1b6dd37326634cf935b9b4d5b1 (patch)
tree732016377ae1e3d12c50ca505fc0f824d57d5fac /sys/dev/mfi
parent012e27daa11e6811c981d259dc0bb43ce54792a0 (diff)
downloadFreeBSD-src-c2c8b23410dc0e1b6dd37326634cf935b9b4d5b1.zip
FreeBSD-src-c2c8b23410dc0e1b6dd37326634cf935b9b4d5b1.tar.gz
Remove some debugging code that accidentally crept in.
Diffstat (limited to 'sys/dev/mfi')
-rw-r--r--sys/dev/mfi/mfi.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/mfi/mfi.c b/sys/dev/mfi/mfi.c
index 823f2cc..2fedec5 100644
--- a/sys/dev/mfi/mfi.c
+++ b/sys/dev/mfi/mfi.c
@@ -1446,7 +1446,7 @@ mfi_add_ld_complete(struct mfi_command *cm)
mtx_unlock(&Giant);
mtx_lock(&sc->mfi_io_lock);
}
-int mfi_io=0;
+
static struct mfi_command *
mfi_bio_command(struct mfi_softc *sc)
{
@@ -1495,7 +1495,6 @@ mfi_bio_command(struct mfi_softc *sc)
cm->cm_sg = &io->sgl;
cm->cm_total_frame_size = MFI_IO_FRAME_SIZE;
cm->cm_flags = flags;
- mfi_io++;
return (cm);
}
@@ -1520,7 +1519,6 @@ mfi_bio_complete(struct mfi_command *cm)
mfi_release_command(cm);
mfi_disk_complete(bio);
- mfi_io--;
}
void
OpenPOWER on IntegriCloud