Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Plasma
KWin
Commits
1e01b133
Commit
1e01b133
authored
Oct 13, 2020
by
Vlad Zahorodnii
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
platforms/drm: Remove redundant drmModeGetResources
parent
d9d1c976
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
plugins/platforms/drm/drm_backend.cpp
plugins/platforms/drm/drm_backend.cpp
+0
-1
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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