From 67c77fdbdcc34a227bd304797761b4c76b9ca6eb Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 23 Nov 2023 16:08:25 +0100 Subject: [PATCH] backend/drm: remove wlr_drm_renderer.backend This is unused. --- backend/drm/renderer.c | 2 -- include/backend/drm/renderer.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/backend/drm/renderer.c b/backend/drm/renderer.c index 374f071fb..321d583c7 100644 --- a/backend/drm/renderer.c +++ b/backend/drm/renderer.c @@ -13,8 +13,6 @@ bool init_drm_renderer(struct wlr_drm_backend *drm, struct wlr_drm_renderer *renderer) { - renderer->backend = drm; - renderer->wlr_rend = renderer_autocreate_with_drm_fd(drm->fd); if (!renderer->wlr_rend) { wlr_log(WLR_ERROR, "Failed to create renderer"); diff --git a/include/backend/drm/renderer.h b/include/backend/drm/renderer.h index 0bd265720..f53f720bc 100644 --- a/include/backend/drm/renderer.h +++ b/include/backend/drm/renderer.h @@ -13,8 +13,6 @@ struct wlr_drm_plane; struct wlr_buffer; struct wlr_drm_renderer { - struct wlr_drm_backend *backend; - struct wlr_renderer *wlr_rend; struct wlr_allocator *allocator; };