]> xenbits.xensource.com Git - libvirt.git/commitdiff
hyperv: remove unused 'total' variable
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 25 Jan 2019 11:17:33 +0000 (11:17 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 31 Jan 2019 10:38:39 +0000 (10:38 +0000)
Reviewed-by: John Ferlan <jferlan@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/hyperv/hyperv_wmi_generator.py

index 518a55fd6d84f6fe7561742fe463922c1b31f32f..fc1370955f9834154d1ef0eeca20be388afa5d1b 100755 (executable)
@@ -280,7 +280,6 @@ class WmiClass:
 
         # alter each version's property list so that common members are first
         # and in the same order as in the common dictionary
-        total = len(common)
         for cls in self.versions:
             index = 0
             count = len(cls.properties)