mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-31 20:13:04 +08:00
refactor: Use else if instead of nested else-if conditions
Replaces nested else-if with else if for consistency and readability. No functional changes. Signed-off-by: Vysochyn, Illia <illia.vysochyn@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
ed15408592
commit
f4bd4e603d
@@ -805,10 +805,8 @@ ze_result_t KernelImp::setArgBuffer(uint32_t argIndex, size_t argSize, const voi
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (argInfo.isSetToNullptr) {
|
||||
return ZE_RESULT_SUCCESS;
|
||||
}
|
||||
} else if (argInfo.isSetToNullptr) {
|
||||
return ZE_RESULT_SUCCESS;
|
||||
}
|
||||
|
||||
const auto &allArgs = getImmutableData()->getDescriptor().payloadMappings.explicitArgs;
|
||||
|
||||
Reference in New Issue
Block a user