Commit 1e01b133 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii

platforms/drm: Remove redundant drmModeGetResources

parent d9d1c976
......@@ -255,7 +255,6 @@ void DrmBackend::openDrm()
drmModeRes *resources = drmModeGetResources(fd);
if (!resources) {
qCDebug(KWIN_DRM) << "Skipping KMS incapable drm device node at" << devNode;
drmModeFreeResources(resources);
LogindIntegration::self()->releaseDevice(fd);
continue;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment