summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authoroster <oster@NetBSD.org>2016-10-15 20:31:15 +0000
committeroster <oster@NetBSD.org>2016-10-15 20:31:15 +0000
commitb0d3f492f6931ab4a095944dd93b8b2f73758627 (patch)
tree633335b2adf03143b0387f492e981781d183e392 /sys/dev/raidframe
parent5efdf1b5f8e48c111722aa3e2b56cb300da45624 (diff)
Cleanup/remove unused asm_count. Reported by David Binderman in PR#51552.
Thanks!
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_map.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/raidframe/rf_map.c b/sys/dev/raidframe/rf_map.c
index ceb2ad10732..2927bcc44e8 100644
--- a/sys/dev/raidframe/rf_map.c
+++ b/sys/dev/raidframe/rf_map.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_map.c,v 1.46 2014/11/14 14:45:34 oster Exp $ */
+/* $NetBSD: rf_map.c,v 1.47 2016/10/15 20:31:15 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -33,7 +33,7 @@
**************************************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_map.c,v 1.46 2014/11/14 14:45:34 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_map.c,v 1.47 2016/10/15 20:31:15 oster Exp $");
#include <dev/raidframe/raidframevar.h>
@@ -557,7 +557,7 @@ rf_FreeAccessStripeMap(RF_AccessStripeMapHeader_t *hdr)
{
RF_AccessStripeMap_t *p;
RF_PhysDiskAddr_t *pdp, *trailer, *pdaList = NULL, *pdaEnd = NULL;
- int count = 0, t, asm_count = 0;
+ int count = 0, t;
for (p = hdr->stripeMap; p; p = p->next) {
@@ -598,8 +598,6 @@ rf_FreeAccessStripeMap(RF_AccessStripeMapHeader_t *hdr)
}
if (trailer)
pdaEnd = trailer;
-
- asm_count++;
}
/* debug only */