From 0c27c9586ba23b1d08e2438a5abb5d795f2b4b87 Mon Sep 17 00:00:00 2001 From: "Li, Fei1" Date: Sun, 13 Jan 2019 05:40:59 +0800 Subject: [PATCH] hv: security: remove superfluous prototype An external object or function shall be declared once in one and only one file. Since it already declared in include/arch/x86/security.h, we shall remove it. Tracked-On: #861 Signed-off-by: Li, Fei1 --- hypervisor/include/arch/x86/cpu_caps.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/hypervisor/include/arch/x86/cpu_caps.h b/hypervisor/include/arch/x86/cpu_caps.h index 718a164e8..12b50d31b 100644 --- a/hypervisor/include/arch/x86/cpu_caps.h +++ b/hypervisor/include/arch/x86/cpu_caps.h @@ -45,8 +45,6 @@ bool cpu_has_vmx_ept_cap(uint32_t bit_mask); bool cpu_has_vmx_vpid_cap(uint32_t bit_mask); void init_cpu_capabilities(void); void init_cpu_model_name(void); -bool check_cpu_security_cap(void); -void cpu_l1d_flush(void); int32_t detect_hardware_support(void); struct cpuinfo_x86 *get_cpu_info(void);