[libvirt] [PATCH 5/6] hyperv: remove unused 'total' variable

Daniel P. Berrangé posted 6 patches 7 years ago
[libvirt] [PATCH 5/6] hyperv: remove unused 'total' variable
Posted by Daniel P. Berrangé 7 years ago
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
 src/hyperv/hyperv_wmi_generator.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/hyperv/hyperv_wmi_generator.py b/src/hyperv/hyperv_wmi_generator.py
index 518a55fd6d..fc1370955f 100755
--- a/src/hyperv/hyperv_wmi_generator.py
+++ b/src/hyperv/hyperv_wmi_generator.py
@@ -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)
-- 
2.20.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH 5/6] hyperv: remove unused 'total' variable
Posted by John Ferlan 7 years ago

On 1/30/19 12:40 PM, Daniel P. Berrangé wrote:
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> ---
>  src/hyperv/hyperv_wmi_generator.py | 1 -
>  1 file changed, 1 deletion(-)
> 

Reviewed-by: John Ferlan <jferlan@redhat.com>

John

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list