mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
refactor: remove not needed check
OsLibrary::load already checks if library is loaded Related-To: NEO-12273 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
cc9e73b94a
commit
51d03ba130
@@ -274,8 +274,7 @@ std::optional<int> invokeFormerOcloc(const std::string &formerOclocName, unsigne
|
||||
|
||||
std::unique_ptr<OsLibrary> oclocLib(OsLibrary::loadFunc(formerOclocName));
|
||||
|
||||
if (!oclocLib ||
|
||||
!oclocLib->isLoaded()) {
|
||||
if (!oclocLib) {
|
||||
return {};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user