OSDN Git Service

Remove unused variable 'id' in va_wayland_emgd_create.
authorLim Siew Hoon <siew.hoon.lim@intel.com>
Wed, 22 Jun 2016 11:46:01 +0000 (19:46 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Mon, 22 Aug 2016 05:04:29 +0000 (13:04 +0800)
Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
Reviewed-by: Sean V Kelley <seanvk@posteo.de>
(cherry picked from commit fb3d2ef558907d490e9d1183bba013ca8e75af9e)

va/wayland/va_wayland_emgd.c

index cb885d1..fb8a136 100644 (file)
@@ -115,7 +115,6 @@ va_wayland_emgd_create(VADisplayContextP pDisplayContext)
     VADriverContextP const ctx = pDisplayContext->pDriverContext;
     VADisplayContextWaylandEMGD *wl_emgd_ctx;
     struct drm_state *drm_state;
-    uint32_t id;
 
     wl_emgd_ctx = malloc(sizeof(*wl_emgd_ctx));
     if (!wl_emgd_ctx)