mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-10 13:29:44 -05:00
backend/drm: remove unused CRTC count check
drmIsKMS already checks for this.
This commit is contained in:
parent
d89285f783
commit
1f1c0275be
1 changed files with 0 additions and 8 deletions
|
|
@ -1185,14 +1185,6 @@ static void disconnect_drm_connector(struct wlr_drm_connector *conn);
|
|||
|
||||
void scan_drm_connectors(struct wlr_drm_backend *drm,
|
||||
struct wlr_device_hotplug_event *event) {
|
||||
/*
|
||||
* This GPU is not really a modesetting device.
|
||||
* It's just being used as a renderer.
|
||||
*/
|
||||
if (drm->num_crtcs == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (event != NULL && event->connector_id != 0) {
|
||||
wlr_log(WLR_INFO, "Scanning DRM connector %"PRIu32" on %s",
|
||||
event->connector_id, drm->name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue