Remove useless inner function in the base Bluetooth coordinator (#103305)

Remove unless inner function in the base Bluetooth coordinator
This commit is contained in:
J. Nick Koston 2023-11-03 09:41:47 -05:00 committed by GitHub
parent eeb88f5e07
commit 5bcff82148
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,12 +47,7 @@ class BasePassiveBluetoothCoordinator(ABC):
def async_start(self) -> CALLBACK_TYPE:
"""Start the data updater."""
self._async_start()
@callback
def _async_cancel() -> None:
self._async_stop()
return _async_cancel
return self._async_stop
@callback
@abstractmethod