platforms/drm: Remove redundant drmModeGetResources

This commit is contained in:
Vlad Zahorodnii 2020-10-13 21:02:32 +03:00
parent d9d1c976cd
commit 1e01b1334e

View file

@ -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;
}