Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
1e01b133
Commit
1e01b133
authored
Oct 13, 2020
by
Vlad Zahorodnii
Browse files
platforms/drm: Remove redundant drmModeGetResources
parent
d9d1c976
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/platforms/drm/drm_backend.cpp
View file @
1e01b133
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment