diff options
Diffstat (limited to 'src/arch/x86')
-rw-r--r-- | src/arch/x86/cpu_common.c | 5 |
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); } |