Skip to content

Commit c325003

Browse files
binbinwu1wenlingz
authored andcommitted
hv: vcpuid: remove unnecessary check code
The removed check code is not necessary. Tracked-On: #861 Signed-off-by: Binbin Wu <binbin.wu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
1 parent 83f32c9 commit c325003

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

hypervisor/arch/x86/guest/vcpuid.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -253,10 +253,6 @@ int32_t set_vcpuid_entries(struct acrn_vm *vm)
253253
default:
254254
init_vcpuid_entry(i, 0U, 0U, &entry);
255255
result = set_vcpuid_entry(vm, &entry);
256-
if (result != 0) {
257-
/* break out of switch */
258-
break;
259-
}
260256
break;
261257
}
262258

0 commit comments

Comments
 (0)