From aa130a2ab3f5c16c6cbfb3f2453dd871b857210e Mon Sep 17 00:00:00 2001 From: zhoufeng Date: Tue, 2 Feb 2021 10:46:58 +0800 Subject: [PATCH] delete todo code Signed-off-by: zhoufeng --- .../minddata/dataset/engine/cache/perf/cache_perf_run.h | 3 --- .../minddata/dataset/engine/cache/perf/cache_pipeline_run.h | 5 ----- 2 files changed, 8 deletions(-) diff --git a/mindspore/ccsrc/minddata/dataset/engine/cache/perf/cache_perf_run.h b/mindspore/ccsrc/minddata/dataset/engine/cache/perf/cache_perf_run.h index 3324e460d2..06a44356d8 100644 --- a/mindspore/ccsrc/minddata/dataset/engine/cache/perf/cache_perf_run.h +++ b/mindspore/ccsrc/minddata/dataset/engine/cache/perf/cache_perf_run.h @@ -100,7 +100,4 @@ class CachePerfRun { }; } // namespace dataset } // namespace mindspore -// todo: waiting for the master of the codes to refactor -#define get_code StatusCode -#define kDuplicateKey kMDDuplicateKey #endif // MINDSPORE_CCSRC_MINDDATA_DATASET_ENGINE_CACHE_PERF_RUN_H_ diff --git a/mindspore/ccsrc/minddata/dataset/engine/cache/perf/cache_pipeline_run.h b/mindspore/ccsrc/minddata/dataset/engine/cache/perf/cache_pipeline_run.h index c0f8d8e738..7643179c89 100644 --- a/mindspore/ccsrc/minddata/dataset/engine/cache/perf/cache_pipeline_run.h +++ b/mindspore/ccsrc/minddata/dataset/engine/cache/perf/cache_pipeline_run.h @@ -115,9 +115,4 @@ class CachePipelineRun { }; } // namespace dataset } // namespace mindspore -// todo: waiting for the master of the codes to refactor -#define get_code StatusCode -#define kDuplicateKey kMDDuplicateKey -#define IsOutofMemory() StatusCode() == StatusCode::kMDOutOfMemory -#define IsNoSpace() StatusCode() == StatusCode::kMDNoSpace #endif // MINDSPORE_CCSRC_MINDDATA_DATASET_ENGINE_CACHE_PIPELINE_RUN_H_