Skip to content

Commit 3527cac

Browse files
committed
rocprofiler-register: remove dead code path
- This code is never run - This is already handled in rocp_load_rocprofiler_lib
1 parent e0dcba9 commit 3527cac

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

projects/rocprofiler-register/source/lib/rocprofiler-register/rocprofiler_register.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -366,12 +366,6 @@ rocp_reg_scan_for_tools()
366366
<< rocprofiler_lib_register_entrypoint << " not found. Tried to dlopen "
367367
<< _rocp_reg_lib;
368368
}
369-
else if(_found_tool && rocprofiler_set_api_table)
370-
{
371-
rocprofiler_lib_config_fn = &rocprofiler_set_api_table;
372-
rocprofiler_lib_attach_fn = &rocprofiler_attach;
373-
rocprofiler_lib_detach_fn = &rocprofiler_detach;
374-
}
375369

376370
return rocp_scan_data{ rocprofiler_lib_handle,
377371
rocprofiler_lib_config_fn,

0 commit comments

Comments
 (0)