Merge "pci: Remove unused 'all_devs' method"

This commit is contained in:
Jenkins 2016-06-10 19:40:46 +00:00 committed by Gerrit Code Review
commit 279f1a9bf6

View File

@ -87,10 +87,6 @@ class PciDevTracker(object):
elif dev.status == fields.PciDeviceStatus.AVAILABLE: elif dev.status == fields.PciDeviceStatus.AVAILABLE:
self.stats.add_device(dev) self.stats.add_device(dev)
@property
def all_devs(self):
return self.pci_devs
def save(self, context): def save(self, context):
for dev in self.pci_devs: for dev in self.pci_devs:
if dev.obj_what_changed(): if dev.obj_what_changed():