Skip to content

Commit fed03f8

Browse files
committed
Remove unreachable return
1 parent cc40f7a commit fed03f8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

unified-runtime/source/adapters/offload/enqueue.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,8 +452,6 @@ UR_APIEXPORT ur_result_t UR_APICALL urEnqueueUSMMemcpy(
452452

453453
return doMemcpy(UR_COMMAND_USM_MEMCPY, hQueue, pDst, Dst, pSrc, Src, size,
454454
blocking, numEventsInWaitList, phEventWaitList, phEvent);
455-
456-
return UR_RESULT_SUCCESS;
457455
}
458456

459457
UR_APIEXPORT ur_result_t UR_APICALL urEnqueueUSMAdvise(

0 commit comments

Comments
 (0)