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()) {