backends/drm: remove unused variable

This commit is contained in:
Xaver Hugl 2023-03-22 17:42:04 +01:00
parent 54e338eaed
commit 71ebaebe9b

View file

@ -118,7 +118,6 @@ DrmPipeline::Error DrmPipeline::commitPipelinesAtomic(const QVector<DrmPipeline
for (const auto &unused : unusedObjects) {
unused->disable(commit.get());
}
const auto gpu = pipelines[0]->gpu();
switch (mode) {
case CommitMode::TestAllowModeset: {
if (!commit->testAllowModeset()) {