[go: nahoru, domu]

Skip to content

Commit

Permalink
Remove unused variables in glow/glow/lib/Runtime/HostManager/HostMana…
Browse files Browse the repository at this point in the history
…ger.cpp

Reviewed By: dmm-fb

Differential Revision: D52981031

fbshipit-source-id: 65b26a1caa2253ffbb2c1a38c9cd3e14ffeb8c8c
  • Loading branch information
r-barnes authored and facebook-github-bot committed Jan 25, 2024
1 parent d4250ef commit ac07d16
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/Runtime/HostManager/HostManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,6 @@ Error HostManager::runNetworkBlocking(
}

void HostManager::dispatchNextRun() {
int requestId = -1;
llvm::Optional<InferRequest> pRequest;
std::shared_lock<std::shared_timed_mutex> networkLock(networkLock_);
{
Expand All @@ -913,7 +912,6 @@ void HostManager::dispatchNextRun() {
// provides a const ref to the top element, since we need to move
// it we first cast it to remove the const.
pRequest = std::move(const_cast<InferRequest &>(inferQueue_.top()));
requestId = static_cast<int>(pRequest->requestID);
inferQueue_.pop();
} else {
// Decrement the activeRequest counter so new requests can
Expand Down

0 comments on commit ac07d16

Please sign in to comment.