removing unused variable cache_stat

Signed-off-by: Petr Holasek <pholasek@redhat.com>
This commit is contained in:
Petr Holasek 2014-12-10 15:12:10 +01:00
parent 8577a4ee45
commit 854425506d

View file

@ -234,7 +234,6 @@ static void do_one_cpu(char *path)
cpu_set(cpu->number, cache_mask);
max_cache_index = 0;
cache_index = 1;
cache_stat = 0;
do {
struct stat sb;
snprintf(new_path, PATH_MAX, "%s/cache/index%d/shared_cpu_map", path, cache_index);