From df58868200447066dfc8fc3de87238407699c3fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Tue, 23 May 2017 14:23:52 +0200 Subject: [PATCH] print_cpu_device: remove unused variable --- PVE/QemuServer.pm | 2 -- 1 file changed, 2 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index f324a64a..99e58977 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -1720,8 +1720,6 @@ sub print_cpu_device { $cpu = $cpuconf->{cputype}; } - my $sockets = 1; - $sockets = $conf->{sockets} if $conf->{sockets}; my $cores = $conf->{cores} || 1; my $current_core = ($id - 1) % $cores;