SWDEV-301667 - Remove guarantee
Remove guarantee from AddMemObj as one can call it multiple times for different devices Change-Id: I49dd76068b3c4c709f17541159052302dcdb374d
This commit is contained in:
@@ -276,7 +276,6 @@ void MemObjMap::AddMemObj(const void* k, amd::Memory* v) {
|
||||
if (!rval.second) {
|
||||
DevLogPrintfError("Memobj map already has an entry for ptr: 0x%x",
|
||||
reinterpret_cast<uintptr_t>(k));
|
||||
guarantee(false, "Memobj map already has an entry for ptr");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user