Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/raidframe Cleanup/remove unused asm_count. Reported...
details: https://anonhg.NetBSD.org/src/rev/914b8bf07b82
branches: trunk
changeset: 348357:914b8bf07b82
user: oster <oster%NetBSD.org@localhost>
date: Sat Oct 15 20:31:15 2016 +0000
description:
Cleanup/remove unused asm_count. Reported by David Binderman in PR#51552.
Thanks!
diffstat:
sys/dev/raidframe/rf_map.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (36 lines):
diff -r 81b1f8bb0289 -r 914b8bf07b82 sys/dev/raidframe/rf_map.c
--- a/sys/dev/raidframe/rf_map.c Sat Oct 15 19:51:48 2016 +0000
+++ b/sys/dev/raidframe/rf_map.c Sat Oct 15 20:31:15 2016 +0000
@@ -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_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 @@
}
if (trailer)
pdaEnd = trailer;
-
- asm_count++;
}
/* debug only */
Home |
Main Index |
Thread Index |
Old Index