diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2023-07-02 11:09:09 +0200 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2023-07-02 12:22:41 +0200 |
commit | 9cf7f7a82f5f101cf0cbbf2d511fb030e4fb23ae (patch) | |
tree | 56a9e747cfdfc09def21321f959a6ee5bfe7cd5c /src/basic/virt.c | |
parent | test: drop an unused assignment (diff) | |
download | systemd-9cf7f7a82f5f101cf0cbbf2d511fb030e4fb23ae.tar.xz systemd-9cf7f7a82f5f101cf0cbbf2d511fb030e4fb23ae.zip |
virt: drop an unused assignment
As `v` gets overwritten by the following detect_vm_cpuid() call.
Resolves: CID#1509247
Diffstat (limited to '')
-rw-r--r-- | src/basic/virt.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/basic/virt.c b/src/basic/virt.c index 79fa43e0d8..1fef114bc8 100644 --- a/src/basic/virt.c +++ b/src/basic/virt.c @@ -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(); |