summaryrefslogtreecommitdiff
path: root/arch/mips/kernel/cacheinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/kernel/cacheinfo.c')
-rw-r--r--arch/mips/kernel/cacheinfo.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/mips/kernel/cacheinfo.c b/arch/mips/kernel/cacheinfo.c
index 5f9d0ebac558..53d8ea7d36e6 100644
--- a/arch/mips/kernel/cacheinfo.c
+++ b/arch/mips/kernel/cacheinfo.c
@@ -107,10 +107,8 @@ static int __populate_cache_leaves(unsigned int cpu)
level++;
}
- if (c->tcache.waysize) {
+ if (c->tcache.waysize)
populate_cache(tcache, this_leaf, level, CACHE_TYPE_UNIFIED);
- level++;
- }
this_cpu_ci->cpu_map_populated = true;