Use all-caps macros instead of object_heap_lookup (for now)

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
This commit is contained in:
Paul Kocialkowski
2018-04-25 11:03:58 +02:00
parent d809ff25e2
commit 294a6c958a
2 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ VAStatus SunxiCedrusDestroyContext(VADriverContextP context,
struct object_context *context_object;
int rc;
context_object = (struct object_context *) object_heap_lookup(&driver_data->context_heap, context_id);
context_object = CONTEXT(context_id);
if (context_object == NULL)
return VA_STATUS_ERROR_INVALID_CONTEXT;