Skip to contentSkip to conversation

xend: remove supurious pci_len from getDeviceSxprs

PATCH New Simon Horman 1 participant 1 message May 20, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xend: remove supurious pci_len from getDeviceSxprs

Cc Zhai Edwin <[email protected]>
Cc Masaki Kanno <[email protected]>
Cc Dexuan Cui <[email protected]>
tools/python/xen/xend/XendDomainInfo.py +0 -1
diff -r 40d4267296ad tools/python/xen/xend/XendDomainInfo.py
@@ -1197,7 +1197,6 @@
                 return []
             dev_uuid = sxp.child_value(dev_info, 'uuid')
             pci_devs = self.info['devices'][dev_uuid][1]['devs']
-            pci_len = len(pci_devs)
             return pci_devs
         if self._stateGet() in (DOM_STATE_RUNNING, DOM_STATE_PAUSED, DOM_STATE_CRASHED):
             return self.getDeviceController(deviceClass).sxprs()