diff --git a/openmp/libomptarget/plugins/cuda/src/rtl.cpp b/openmp/libomptarget/plugins/cuda/src/rtl.cpp index 99739f44b95c..6533102bb077 100644 --- a/openmp/libomptarget/plugins/cuda/src/rtl.cpp +++ b/openmp/libomptarget/plugins/cuda/src/rtl.cpp @@ -1088,10 +1088,6 @@ public: return memcpyDtoD(SrcPtr, DstPtr, Size, Stream); } - default: - REPORT("Unknown PeerAccessState %d.\n", - int(PeerAccessMatrix[SrcDevId][DstDevId])); - return OFFLOAD_FAIL; } }