backends/drm: remove unused variable

This commit is contained in:
Xaver Hugl 2022-01-16 17:24:36 +01:00
parent 090b687126
commit 85cd40c49a

View file

@ -196,11 +196,8 @@ bool DrmBackend::initialize()
} }
} else { } else {
const auto devices = m_udev->listGPUs(); const auto devices = m_udev->listGPUs();
bool bootVga = false;
for (const UdevDevice::Ptr &device : devices) { for (const UdevDevice::Ptr &device : devices) {
if (addGpu(device->devNode())) { addGpu(device->devNode());
bootVga |= device->isBootVga();
}
} }
} }