Bluetooth: Simplify started check

am: 5ea487bdce

Change-Id: I8d4ae4b5c1fc96809600a32c1b91ebfee8a23e8e
This commit is contained in:
Myles Watson
2017-02-22 14:49:59 +00:00
committed by android-build-merger

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(