summaryrefslogtreecommitdiff
path: root/nn/common/Utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'nn/common/Utils.cpp')
-rw-r--r--nn/common/Utils.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/nn/common/Utils.cpp b/nn/common/Utils.cpp
index 233cd6850..c80a4fc51 100644
--- a/nn/common/Utils.cpp
+++ b/nn/common/Utils.cpp
@@ -1467,9 +1467,7 @@ ErrorStatus convertResultCodeToErrorStatus(int resultCode) {
case ANEURALNETWORKS_INCOMPLETE:
case ANEURALNETWORKS_OP_FAILED:
case ANEURALNETWORKS_OUT_OF_MEMORY:
-#if 0
- case ANEURALNETWORKS_UNMAPPABLE: // Same as BAD_STATE per http://b/68356625
-#endif
+ case ANEURALNETWORKS_UNMAPPABLE:
return ErrorStatus::GENERAL_FAILURE;
}
}