Skip to content

Commit

Permalink
Remove unused device id() method
Browse files Browse the repository at this point in the history
  • Loading branch information
osterwood committed Jan 5, 2022
1 parent 9fa8d5f commit 570af5f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
3 changes: 0 additions & 3 deletions capablerobot_usbhub/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,6 @@ def revision(self):

return self._revision

def id(self):
return [self.sku, self.serial, self.revision]

def check_hardware_revision(self):
_ = self.sku
return self.revision == self._sku[1]
Expand Down
8 changes: 0 additions & 8 deletions capablerobot_usbhub/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,14 +229,6 @@ def parse_register(self, name, stream):

return parsed


def id(self, all=False):
if all:
return [device.id() for _,device in self.devices.items()]

return self.device.id()


def connections(self):
return self.device.connections()

Expand Down

0 comments on commit 570af5f

Please sign in to comment.