[pve-devel] [PATCH qemu-server 3/3] swtpm: drop unused $volname variable
Fabian Grünbichler
f.gruenbichler at proxmox.com
Thu Dec 12 09:51:49 CET 2024
Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
PVE/QemuServer.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index fe7984eb..e1ee328c 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -3210,7 +3210,7 @@ sub start_swtpm {
my $state;
my $tpm = parse_drive("tpmstate0", $tpmdrive);
- my ($storeid, $volname) = PVE::Storage::parse_volume_id($tpm->{file}, 1);
+ my ($storeid) = PVE::Storage::parse_volume_id($tpm->{file}, 1);
if ($storeid) {
my $format = checked_volume_format($storecfg, $tpm->{file});
die "swtpm currently only supports 'raw' state volumes" if $format ne 'raw';
--
2.39.5
More information about the pve-devel
mailing list