Blame SOURCES/irqbalance-1.0.8-removing-unused-variable-cache_stat.patch

5f346f
From 854425506dc26d1e118122b2f87f1b7f5641ee35 Mon Sep 17 00:00:00 2001
5f346f
From: Petr Holasek <pholasek@redhat.com>
5f346f
Date: Wed, 10 Dec 2014 15:12:10 +0100
5f346f
Subject: [PATCH] removing unused variable cache_stat
5f346f
5f346f
Signed-off-by: Petr Holasek <pholasek@redhat.com>
5f346f
---
5f346f
 cputree.c | 1 -
5f346f
 1 file changed, 1 deletion(-)
5f346f
5f346f
diff --git a/cputree.c b/cputree.c
5f346f
index caedbb6..c56b1be 100644
5f346f
--- a/cputree.c
5f346f
+++ b/cputree.c
5f346f
@@ -234,7 +234,6 @@ static void do_one_cpu(char *path)
5f346f
 	cpu_set(cpu->number, cache_mask);
5f346f
 	max_cache_index = 0;
5f346f
 	cache_index = 1;
5f346f
-	cache_stat = 0;
5f346f
 	do {
5f346f
 		struct stat sb;
5f346f
 		snprintf(new_path, PATH_MAX, "%s/cache/index%d/shared_cpu_map", path, cache_index);
5f346f
-- 
5f346f
2.1.0
5f346f