From 71ebaebe9bbe9d773ce64018fc2ce5356f51dbdc Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Wed, 22 Mar 2023 17:42:04 +0100 Subject: [PATCH] backends/drm: remove unused variable --- src/backends/drm/drm_pipeline.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/backends/drm/drm_pipeline.cpp b/src/backends/drm/drm_pipeline.cpp index 001abce8c3..b7462e255c 100644 --- a/src/backends/drm/drm_pipeline.cpp +++ b/src/backends/drm/drm_pipeline.cpp @@ -118,7 +118,6 @@ DrmPipeline::Error DrmPipeline::commitPipelinesAtomic(const QVectordisable(commit.get()); } - const auto gpu = pipelines[0]->gpu(); switch (mode) { case CommitMode::TestAllowModeset: { if (!commit->testAllowModeset()) {