style: skip redundant unique_ptr::get function

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2022-05-09 16:21:21 +00:00
committed by Compute-Runtime-Automation
parent d18e89e439
commit 943ad0e1eb
51 changed files with 188 additions and 188 deletions

View File

@ -399,8 +399,8 @@ MultiGraphicsAllocation &CommandStreamReceiver::createTagsMultiAllocation() {
rootDeviceIndices.push_back(rootDeviceIndex);
} else {
for (auto index = 0u; index < this->executionEnvironment.rootDeviceEnvironments.size(); index++) {
if (this->executionEnvironment.rootDeviceEnvironments[index].get()->getHardwareInfo()->platform.eProductFamily ==
this->executionEnvironment.rootDeviceEnvironments[this->rootDeviceIndex].get()->getHardwareInfo()->platform.eProductFamily) {
if (this->executionEnvironment.rootDeviceEnvironments[index]->getHardwareInfo()->platform.eProductFamily ==
this->executionEnvironment.rootDeviceEnvironments[this->rootDeviceIndex]->getHardwareInfo()->platform.eProductFamily) {
rootDeviceIndices.push_back(index);
}
}