From 501eadc1dbafd62b298cb6c5e279882f972ae9db Mon Sep 17 00:00:00 2001 From: Megvii Engine Team Date: Tue, 14 Dec 2021 19:52:44 +0800 Subject: [PATCH] fix(mgb): fix copybara mc20 GitOrigin-RevId: 2b491e2278b25bf2512f315ca7815a43a61541b4 --- src/core/impl/comp_node/comp_node.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/core/impl/comp_node/comp_node.cpp b/src/core/impl/comp_node/comp_node.cpp index 7a33033fc..1dbcedbea 100644 --- a/src/core/impl/comp_node/comp_node.cpp +++ b/src/core/impl/comp_node/comp_node.cpp @@ -154,12 +154,6 @@ CompNode::Locator CompNode::Locator::parse(const std::string& id) { // parse dev_type if (ptr[0] == 'a') { -#if MGB_MC20 - if (strncmp(ptr, "ax", 2) == 0) { - dev_type = DeviceType::AX; - ptr += 2; - } else { -#endif if (strncmp(ptr, "atlas", 5)) { err(); } -- GitLab