[Mesa-dev] [PATCH kmscube 6/7] drm-common.c: remove unused variable `gbm`
Eric Engestrom
eric.engestrom at imgtec.com
Tue Mar 14 13:33:56 UTC 2017
Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
---
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);
--
Cheers,
Eric
More information about the mesa-dev
mailing list