summaryrefslogtreecommitdiff
path: root/kvmd/plugins/ugpio
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-03-31 04:44:03 +0300
committerMaxim Devaev <[email protected]>2022-03-31 05:41:08 +0300
commit17412be3fead0e24290f5f704e964d3787e6a889 (patch)
treef46e92b3c43f3446df8093d3e1bef3c73ddc5810 /kvmd/plugins/ugpio
parentc4ca7011bfdb0f24621ef4474eeec4d8d878bf84 (diff)
get rid of otgbind's cleanup and fixed hid for this
Diffstat (limited to 'kvmd/plugins/ugpio')
-rw-r--r--kvmd/plugins/ugpio/otgbind.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/kvmd/plugins/ugpio/otgbind.py b/kvmd/plugins/ugpio/otgbind.py
index 43fc32fe..17da02a8 100644
--- a/kvmd/plugins/ugpio/otgbind.py
+++ b/kvmd/plugins/ugpio/otgbind.py
@@ -92,10 +92,6 @@ class Plugin(BaseUserGpioDriver):
except Exception:
logger.exception("Unexpected OTG-bind watcher error")
- async def cleanup(self) -> None:
- with open(self.__ctl_path) as ctl_file:
- ctl_file.write(self.__udc)
-
async def read(self, pin: str) -> bool:
_ = pin
with open(self.__ctl_path) as ctl_file: