summaryrefslogtreecommitdiff
path: root/kvmd/plugins/ugpio
diff options
context:
space:
mode:
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: