Remove Unrecoverable

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2021-04-22 12:49:13 +00:00
committed by Compute-Runtime-Automation
parent 53104e0830
commit a19c3eeee4
2 changed files with 0 additions and 2 deletions

View File

@@ -336,7 +336,6 @@ uint32_t Device::getNumAvailableDevices() const {
Device *Device::getDeviceById(uint32_t deviceId) const {
if (subdevices.empty()) {
UNRECOVERABLE_IF(deviceId > 0);
return const_cast<Device *>(this);
}
UNRECOVERABLE_IF(deviceId >= subdevices.size());