devspec: remove unused dev_count in devspec

the dev_count is not used in any place, we can remove it.

Change-Id: I9f2192faff97027ba861e265e7529aa07ce3bd0a
This commit is contained in:
Chen Fan 2016-08-23 17:27:33 +08:00
parent 42af572191
commit c56f6efda4

View File

@ -130,7 +130,6 @@ class PciDeviceSpec(object):
def __init__(self, dev_spec):
self.tags = dev_spec
self._init_dev_details()
self.dev_count = 0
def _init_dev_details(self):
self.vendor_id = self.tags.pop("vendor_id", ANY)