mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 10:05:19 +00:00
Bluetooth: Simplify started check
am: 5ea487bdce
Change-Id: I8d4ae4b5c1fc96809600a32c1b91ebfee8a23e8e
This commit is contained in:
@@ -41,12 +41,7 @@ int AsyncFdWatcher::WatchFdForNonBlockingReads(
|
||||
}
|
||||
|
||||
// Start the thread if not started yet
|
||||
int started = tryStartThread();
|
||||
if (started != 0) {
|
||||
return started;
|
||||
}
|
||||
|
||||
return 0;
|
||||
return tryStartThread();
|
||||
}
|
||||
|
||||
int AsyncFdWatcher::ConfigureTimeout(
|
||||
|
||||
Reference in New Issue
Block a user