aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tensorflow/core/platform/default/thread_annotations.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/tensorflow/core/platform/default/thread_annotations.h b/tensorflow/core/platform/default/thread_annotations.h
index 46143b2ea3..f3936d366d 100644
--- a/tensorflow/core/platform/default/thread_annotations.h
+++ b/tensorflow/core/platform/default/thread_annotations.h
@@ -157,11 +157,6 @@ limitations under the License.
// annotations will be ignored by the analysis.
#define TS_UNCHECKED(x) ""
-// Disables warnings for a single read operation. This can be used to do racy
-// reads of guarded data members, in cases where the race is benign.
-#define TS_UNCHECKED_READ(x) \
- ::tensorflow::thread_safety_analysis::ts_unchecked_read(x)
-
namespace tensorflow {
namespace thread_safety_analysis {