From 0b18f36deedf0fdd92d83e3f39d0e23ff2066e4e Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Tue, 14 Mar 2017 13:13:19 +0000 Subject: drm-common.c: remove unused variable `gbm` Signed-off-by: Eric Engestrom Reviewed-by: Emil Velikov --- drm-common.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drm-common.c b/drm-common.c index 764ffa2..0262816 100644 --- a/drm-common.c +++ b/drm-common.c @@ -35,7 +35,6 @@ drm_fb_destroy_callback(struct gbm_bo *bo, void *data) { int drm_fd = gbm_device_get_fd(gbm_bo_get_device(bo)); struct drm_fb *fb = data; - struct gbm_device *gbm = gbm_bo_get_device(bo); if (fb->fb_id) drmModeRmFB(drm_fd, fb->fb_id); -- cgit v1.2.3