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:
Saleel Kudchadker
2022-03-08 16:20:03 -08:00
parent ed42eda11d
commit 3bf1d5ac97
-1
View File
@@ -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");
}
}