mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-28 16:48:45 +08:00
The `initDriver` function had an issue where a new `result` variable was defined in a lower scope, causing the initialization result to be discarded. This commit removes the redundant variable declaration, ensuring that the `result` variable initialized in the upper scope is correctly set by the `Driver::get()->initialize` method and properly reflects the driver initialization status. Related-To: NEO-13686 Signed-off-by: Jack Myers <jack.myers@intel.com>