Skip to content

Commit 05e2a97

Browse files
refactor: remove redundant code
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
1 parent 5d24a8b commit 05e2a97

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

level_zero/core/source/driver/driver.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ void DriverImp::initialize(ze_result_t *result) {
3333

3434
NEO::EnvironmentVariableReader envReader;
3535
L0EnvVariables envVariables = {};
36-
envVariables.affinityMask =
37-
envReader.getSetting("ZE_AFFINITY_MASK", std::string(""));
3836
envVariables.programDebugging =
3937
envReader.getSetting("ZET_ENABLE_PROGRAM_DEBUGGING", 0);
4038
envVariables.metrics =

level_zero/core/source/driver/driver_imp.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ class DriverImp : public Driver {
3535
};
3636

3737
struct L0EnvVariables {
38-
std::string affinityMask;
3938
uint32_t programDebugging;
4039
bool metrics;
4140
bool pin;

0 commit comments

Comments
 (0)