From c3250030aa85c005c3fa6c777e93f35ca4daa515 Mon Sep 17 00:00:00 2001 From: Binbin Wu Date: Fri, 21 Dec 2018 17:09:19 +0800 Subject: [PATCH] hv: vcpuid: remove unnecessary check code The removed check code is not necessary. Tracked-On: #861 Signed-off-by: Binbin Wu Acked-by: Eddie Dong --- hypervisor/arch/x86/guest/vcpuid.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hypervisor/arch/x86/guest/vcpuid.c b/hypervisor/arch/x86/guest/vcpuid.c index fa73af698..fe523b1c9 100644 --- a/hypervisor/arch/x86/guest/vcpuid.c +++ b/hypervisor/arch/x86/guest/vcpuid.c @@ -253,10 +253,6 @@ int32_t set_vcpuid_entries(struct acrn_vm *vm) default: init_vcpuid_entry(i, 0U, 0U, &entry); result = set_vcpuid_entry(vm, &entry); - if (result != 0) { - /* break out of switch */ - break; - } break; }