From e2741096ad309785b713f9613a1a2266b4d2faf6 Mon Sep 17 00:00:00 2001 From: zhou_chao1993 Date: Fri, 18 Jun 2021 16:39:55 +0800 Subject: [PATCH] delete repeat code --- ge/hybrid/executor/hybrid_model_async_executor.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/ge/hybrid/executor/hybrid_model_async_executor.cc b/ge/hybrid/executor/hybrid_model_async_executor.cc index 930412e3..63e48c92 100644 --- a/ge/hybrid/executor/hybrid_model_async_executor.cc +++ b/ge/hybrid/executor/hybrid_model_async_executor.cc @@ -78,8 +78,6 @@ Status HybridModelAsyncExecutor::Start(const std::shared_ptr &lis GetThreadLocalContext() = *executor_->GetContext()->ge_context; GetContext().SetSessionId(executor_->GetContext()->session_id); GetContext().SetContextId(executor_->GetContext()->context_id); - GE_CHECK_NOTNULL(executor_->GetContext()->ge_context); - GetThreadLocalContext() = *executor_->GetContext()->ge_context; return RunInternal(); });