From ee49ceba54a58afaff3f8d77ff6e8a7c517b1cb2 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 20 Jul 2023 09:43:57 +0100 Subject: [PATCH] va: drop no longer applicable vaGetDriverNames check All the backends implement the callback. So this temporary check can go now. Signed-off-by: Emil Velikov --- va/va.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/va/va.c b/va/va.c index 4e6a4a9aa..920b76c50 100644 --- a/va/va.c +++ b/va/va.c @@ -674,10 +674,6 @@ static VAStatus va_new_opendriver(VADisplay dpy) const char *driver_name_env; VADriverContextP ctx; - /* XXX: Temporary dummy return, until all platforms are converted */ - if (!pDisplayContext->vaGetDriverNames) - return VA_STATUS_ERROR_INVALID_PARAMETER; - /* XXX: The order is bonkers - env var should take highest priority, then * override (which ought to be nuked) than native. It's not possible atm, * since the DPY connect/init happens during the GetDriverNames.