Bluetooth: Simplify started check

Test: Bluetooth starts/stops
Change-Id: Ib1777ac31d4a13d4221045fa3fa7d817a795f6f9
This commit is contained in:
Myles Watson
2017-02-21 16:53:34 -08:00
parent 4b9692ae04
commit 5ea487bdce

View File

@@ -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(