mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-07 10:48:09 +02:00
Merge branch 'misc-cleanups' into 'main'
Misc. cleanups See merge request plymouth/plymouth!164
This commit is contained in:
commit
aef728a83d
2 changed files with 3 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -32,6 +32,7 @@ plymouth-set-default-theme
|
|||
plymouth-log-viewer
|
||||
plymouth-upstart-bridge
|
||||
plymouthd
|
||||
plymouthd-fd-escrow
|
||||
*.pc
|
||||
tags
|
||||
*.bck
|
||||
|
|
|
|||
|
|
@ -279,7 +279,7 @@ create_devices_for_udev_device (ply_device_manager_t *manager,
|
|||
subsystem = udev_device_get_subsystem (device);
|
||||
ply_trace ("device subsystem is %s", subsystem);
|
||||
|
||||
if (subsystem != NULL && strcmp (subsystem, SUBSYSTEM_DRM) == 0) {
|
||||
if (strcmp (subsystem, SUBSYSTEM_DRM) == 0) {
|
||||
ply_trace ("found DRM device %s", device_path);
|
||||
renderer_type = PLY_RENDERER_TYPE_DRM;
|
||||
} else if (strcmp (subsystem, SUBSYSTEM_FRAME_BUFFER) == 0) {
|
||||
|
|
@ -411,7 +411,7 @@ verify_add_or_change (ply_device_manager_t *manager,
|
|||
const char *device_path,
|
||||
struct udev_device *device)
|
||||
{
|
||||
const char *subsystem = udev_device_get_subsystem (device);
|
||||
const char *subsystem;
|
||||
|
||||
if (strcmp (action, "add") && strcmp (action, "change"))
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue