summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authormartin <martin@NetBSD.org>2013-09-15 12:47:26 +0000
committermartin <martin@NetBSD.org>2013-09-15 12:47:26 +0000
commit38f57773ae9ac2d40d0d0c3ab6719cdc45b654ef (patch)
tree178471e70be221aac85e949b3425423d21fc5a1f /sys/dev/raidframe
parentffa6cd4432c5737f9500a30ba6add059ac6b675b (diff)
Mark variables as potentially unused
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_raid1.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/raidframe/rf_raid1.c b/sys/dev/raidframe/rf_raid1.c
index 7155d06434a..8b23519884a 100644
--- a/sys/dev/raidframe/rf_raid1.c
+++ b/sys/dev/raidframe/rf_raid1.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_raid1.c,v 1.34 2011/05/02 07:29:18 mrg Exp $ */
+/* $NetBSD: rf_raid1.c,v 1.35 2013/09/15 12:47:26 martin Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -33,7 +33,7 @@
*****************************************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_raid1.c,v 1.34 2011/05/02 07:29:18 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_raid1.c,v 1.35 2013/09/15 12:47:26 martin Exp $");
#include "rf_raid.h"
#include "rf_raid1.h"
@@ -171,11 +171,11 @@ void
rf_RAID1DagSelect(RF_Raid_t *raidPtr, RF_IoType_t type,
RF_AccessStripeMap_t *asmap, RF_VoidFuncPtr *createFunc)
{
- RF_RowCol_t fcol, oc;
+ RF_RowCol_t fcol, oc __unused;
RF_PhysDiskAddr_t *failedPDA;
int prior_recon;
RF_RowStatus_t rstat;
- RF_SectorNum_t oo;
+ RF_SectorNum_t oo __unused;
RF_ASSERT(RF_IO_IS_R_OR_W(type));