]> git.proxmox.com Git - qemu-server.git/commitdiff
cleanup: drop superfluous condition in assignment
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 9 Jan 2017 14:33:10 +0000 (15:33 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 9 Jan 2017 14:33:12 +0000 (15:33 +0100)
Its use later on already uses itself as condition.

PVE/QemuServer.pm

index dc6bd6d9d37cb12b2bd85afd5d8bcdc428067613..bc26da2d08fd5e7cac3d7d708eecfdc71b020b66 100644 (file)
@@ -2915,7 +2915,7 @@ sub config_to_command {
        }
 
        my $rombar = defined($d->{rombar}) && !$d->{rombar} ? ',rombar=0' : '';
-       my $romfile = $d->{romfile} if $d->{romfile};
+       my $romfile = $d->{romfile};
 
        my $xvga = '';
        if ($d->{'x-vga'}) {