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:
parent
42af572191
commit
c56f6efda4
@ -130,7 +130,6 @@ class PciDeviceSpec(object):
|
|||||||
def __init__(self, dev_spec):
|
def __init__(self, dev_spec):
|
||||||
self.tags = dev_spec
|
self.tags = dev_spec
|
||||||
self._init_dev_details()
|
self._init_dev_details()
|
||||||
self.dev_count = 0
|
|
||||||
|
|
||||||
def _init_dev_details(self):
|
def _init_dev_details(self):
|
||||||
self.vendor_id = self.tags.pop("vendor_id", ANY)
|
self.vendor_id = self.tags.pop("vendor_id", ANY)
|
||||||
|
Loading…
Reference in New Issue
Block a user