platforms/drm: Remove redundant drmModeGetResources
This commit is contained in:
parent
d9d1c976cd
commit
1e01b1334e
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue