]> xenbits.xensource.com Git - osstest.git/commitdiff
libvirt.pm: Drop some unneeded parens (no functional change0
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 27 Sep 2018 10:29:23 +0000 (11:29 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Thu, 27 Sep 2018 10:29:23 +0000 (11:29 +0100)
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Osstest/Toolstack/libvirt.pm

index 7ebeaf661cc15b5619bed436247c026ad6e4892b..e817f5b4f06c50fd9ac0603fdc867e0c4589ad51 100644 (file)
@@ -30,8 +30,8 @@ sub new {
     my $nl_lib = "libnl-3-200";
     my $libgnutls = "libgnutls30";
 
-    $nl_lib = "libnl1" if ($ho->{Suite} =~ m/wheezy/);
-    $libgnutls = "libgnutls-deb0-28" if ($ho->{Suite} =~ m/jessie/);
+    $nl_lib = "libnl1" if $ho->{Suite} =~ m/wheezy/;
+    $libgnutls = "libgnutls-deb0-28" if $ho->{Suite} =~ m/jessie/;
     push(@extra_packages, $nl_lib);
     push(@extra_packages, $libgnutls);
     return bless { Name => "libvirt",