summaryrefslogtreecommitdiffstats
path: root/module/zfs/arc.c
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2010-08-26 09:53:00 -0700
committerBrian Behlendorf <[email protected]>2010-08-31 08:38:43 -0700
commit1fde1e37208c2f56c72c70a06676676f04b65998 (patch)
tree52ad484f84817f66cc9223533a863c6d027ff32a /module/zfs/arc.c
parentc65aa5b2b9c48375ea1c451f252f0056e16f4e49 (diff)
Fix gcc unused variable warnings
Gcc -Wall warn: 'unused variable' Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'module/zfs/arc.c')
-rw-r--r--module/zfs/arc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/module/zfs/arc.c b/module/zfs/arc.c
index c1b867174..96c3fb702 100644
--- a/module/zfs/arc.c
+++ b/module/zfs/arc.c
@@ -1989,9 +1989,8 @@ arc_shrink(void)
static int
arc_reclaim_needed(void)
{
- uint64_t extra;
-
#ifdef _KERNEL
+ uint64_t extra;
if (needfree)
return (1);