[Openmp-commits] [openmp] c2acb1e - [Libomptarget][NFC] Remove unused variable
Joseph Huber via Openmp-commits
openmp-commits at lists.llvm.org
Fri Sep 9 13:27:03 PDT 2022
Author: Joseph Huber
Date: 2022-09-09T15:26:02-05:00
New Revision: c2acb1e5d3cbd561c235010efeb8897ceba86dec
URL: https://github.com/llvm/llvm-project/commit/c2acb1e5d3cbd561c235010efeb8897ceba86dec
DIFF: https://github.com/llvm/llvm-project/commit/c2acb1e5d3cbd561c235010efeb8897ceba86dec.diff
LOG: [Libomptarget][NFC] Remove unused variable
Added:
Modified:
openmp/libomptarget/plugins/generic-elf-64bit/src/rtl.cpp
Removed:
################################################################################
diff --git a/openmp/libomptarget/plugins/generic-elf-64bit/src/rtl.cpp b/openmp/libomptarget/plugins/generic-elf-64bit/src/rtl.cpp
index 13a25ff119bd8..7987b142cfbd7 100644
--- a/openmp/libomptarget/plugins/generic-elf-64bit/src/rtl.cpp
+++ b/openmp/libomptarget/plugins/generic-elf-64bit/src/rtl.cpp
@@ -139,7 +139,6 @@ __tgt_target_table *__tgt_rtl_load_binary(int32_t DeviceId,
assert(DeviceId >= 0 && DeviceId < NUMBER_OF_DEVICES && "bad dev id");
size_t ImageSize = (size_t)Image->ImageEnd - (size_t)Image->ImageStart;
- size_t NumEntries = (size_t)(Image->EntriesEnd - Image->EntriesBegin);
// load dynamic library and get the entry points. We use the dl library
// to do the loading of the library, but we could do it directly to avoid the
More information about the Openmp-commits
mailing list