mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
virt: drop an unused assignment
As `v` gets overwritten by the following detect_vm_cpuid() call. Resolves: CID#1509247
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user