Module Name: src
Committed By: martin
Date: Sun Sep 15 12:48:58 UTC 2013
Modified Files:
src/sys/dev/raidframe: rf_reconutil.c
Log Message:
Mark a variable as potentially unused
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/dev/raidframe/rf_reconutil.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/raidframe/rf_reconutil.c
diff -u src/sys/dev/raidframe/rf_reconutil.c:1.34 src/sys/dev/raidframe/rf_reconutil.c:1.35
--- src/sys/dev/raidframe/rf_reconutil.c:1.34 Wed May 11 18:13:12 2011
+++ src/sys/dev/raidframe/rf_reconutil.c Sun Sep 15 12:48:58 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_reconutil.c,v 1.34 2011/05/11 18:13:12 mrg Exp $ */
+/* $NetBSD: rf_reconutil.c,v 1.35 2013/09/15 12:48:58 martin Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -31,7 +31,7 @@
********************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_reconutil.c,v 1.34 2011/05/11 18:13:12 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_reconutil.c,v 1.35 2013/09/15 12:48:58 martin Exp $");
#include <dev/raidframe/raidframevar.h>
@@ -248,7 +248,7 @@ void
rf_FreeReconBuffer(RF_ReconBuffer_t *rbuf)
{
RF_Raid_t *raidPtr = rbuf->raidPtr;
- u_int recon_buffer_size;
+ u_int recon_buffer_size __unused;
recon_buffer_size = rf_RaidAddressToByte(raidPtr, raidPtr->Layout.SUsPerRU * raidPtr->Layout.sectorsPerStripeUnit);