Skip to content

Commit b9f6926

Browse files
author
Sergey Kanaev
committed
Address review comment
Signed-off-by: Sergey Kanaev <[email protected]>
1 parent 8ac7b47 commit b9f6926

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

sycl/include/CL/sycl/queue.hpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,6 @@ class __SYCL_EXPORT queue {
233233
const detail::code_location &CodeLoc = detail::code_location::current()
234234
#endif
235235
) {
236-
#ifdef DISABLE_SYCL_INSTRUMENTATION_METADATA
237-
const detail::code_location &CodeLoc = {};
238-
#endif
239236
return submit([=](handler &CGH) { CGH.barrier(); }
240237
#ifndef DISABLE_SYCL_INSTRUMENTATION_METADATA
241238
, CodeLoc
@@ -259,9 +256,6 @@ class __SYCL_EXPORT queue {
259256
const detail::code_location &CodeLoc = detail::code_location::current()
260257
#endif
261258
) {
262-
#ifdef DISABLE_SYCL_INSTRUMENTATION_METADATA
263-
const detail::code_location &CodeLoc = {};
264-
#endif
265259
return submit([=](handler &CGH) { CGH.barrier(WaitList); }
266260
#ifndef DISABLE_SYCL_INSTRUMENTATION_METADATA
267261
, CodeLoc

0 commit comments

Comments
 (0)