summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@imgtec.com>2017-03-14 13:13:19 +0000
committerEric Engestrom <eric.engestrom@imgtec.com>2017-03-15 11:54:52 +0000
commit0b18f36deedf0fdd92d83e3f39d0e23ff2066e4e (patch)
tree36507addbc769c8177997a9b4b3f12d8d175966e
parent545e88bac6ecb081fd7865e135273d95b7a48885 (diff)
drm-common.c: remove unused variable `gbm`
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
-rw-r--r--drm-common.c1
1 files changed, 0 insertions, 1 deletions
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);