Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ffa6a38a authored by Myles Watson's avatar Myles Watson Committed by android-build-merger
Browse files

Bluetooth: Simplify started check

am: 5ea487bd

Change-Id: I8d4ae4b5c1fc96809600a32c1b91ebfee8a23e8e
parents 139cafe6 5ea487bd
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -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(