virt: drop an unused assignment

As `v` gets overwritten by the following detect_vm_cpuid() call.

Resolves: CID#1509247
This commit is contained in:
Frantisek Sumsal
2023-07-02 11:09:09 +02:00
parent e3747380fb
commit 9cf7f7a82f

View File

@@ -492,8 +492,6 @@ Virtualization detect_vm(void) {
return xen_dom0;
if (xen_dom0 == 0)
goto finish;
v = VIRTUALIZATION_NONE;
} else if (v != VIRTUALIZATION_NONE)
assert_not_reached();