summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/arch/x86/cpu_common.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/arch/x86/cpu_common.c b/src/arch/x86/cpu_common.c
index ee0721412b..5f7cd5dddf 100644
--- a/src/arch/x86/cpu_common.c
+++ b/src/arch/x86/cpu_common.c
@@ -245,8 +245,5 @@ bool is_cache_sets_power_of_two(void)
size_t cache_sets = cpu_get_cache_sets(&info);
- if (IS_POWER_OF_2(cache_sets))
- return true;
-
- return false;
+ return IS_POWER_OF_2(cache_sets);
}