[Libomptarget][NFC] Remove unused variable

This commit is contained in:
Joseph Huber 2022-09-09 15:26:02 -05:00
parent 86587f2891
commit c2acb1e5d3
1 changed files with 0 additions and 1 deletions

View 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