We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca9ae22 commit 5eaf6a9Copy full SHA for 5eaf6a9
source/adapters/opencl/usm.cpp
@@ -68,8 +68,7 @@ usmDescToCLMemProperties(const ur_base_desc_t *Desc,
68
return UR_RESULT_ERROR_INVALID_VALUE;
69
}
70
71
- Next = Next->pNext ? static_cast<const ur_base_desc_t *>(Next->pNext)
72
- : nullptr;
+ Next = static_cast<const ur_base_desc_t *>(Next->pNext);
73
} while (Next);
74
75
if (AllocFlags) {
0 commit comments