From 85cd40c49a712cf17e2b574abd4a0d87d646205e Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Sun, 16 Jan 2022 17:24:36 +0100 Subject: [PATCH] backends/drm: remove unused variable --- src/backends/drm/drm_backend.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/backends/drm/drm_backend.cpp b/src/backends/drm/drm_backend.cpp index 1bfd7066ca..96d7a4e4b8 100644 --- a/src/backends/drm/drm_backend.cpp +++ b/src/backends/drm/drm_backend.cpp @@ -196,11 +196,8 @@ bool DrmBackend::initialize() } } else { const auto devices = m_udev->listGPUs(); - bool bootVga = false; for (const UdevDevice::Ptr &device : devices) { - if (addGpu(device->devNode())) { - bootVga |= device->isBootVga(); - } + addGpu(device->devNode()); } }