[Libomptarget][NFC] Remove unused variable
authorJoseph Huber <jhuber6@vols.utk.edu>
Fri, 9 Sep 2022 20:26:02 +0000 (15:26 -0500)
committerJoseph Huber <jhuber6@vols.utk.edu>
Fri, 9 Sep 2022 20:26:02 +0000 (15:26 -0500)
openmp/libomptarget/plugins/generic-elf-64bit/src/rtl.cpp

index 13a25ff..7987b14 100644 (file)
@@ -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