]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Remove unused plymouth_running() function
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 23 Oct 2019 20:56:24 +0000 (22:56 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 24 Oct 2019 09:48:08 +0000 (11:48 +0200)
src/basic/meson.build
src/basic/plymouth-util.c [deleted file]
src/basic/plymouth-util.h

index 43ab1849f97a97855a4e84f0fe326dd5255a793b..b23ca586d2a0dc42d9556e88702c40fc98b2069d 100644 (file)
@@ -162,7 +162,6 @@ basic_sources = files('''
         parse-util.h
         path-util.c
         path-util.h
-        plymouth-util.c
         plymouth-util.h
         prioq.c
         prioq.h
diff --git a/src/basic/plymouth-util.c b/src/basic/plymouth-util.c
deleted file mode 100644 (file)
index 2023ec3..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-/* SPDX-License-Identifier: LGPL-2.1+ */
-
-#include <unistd.h>
-
-#include "plymouth-util.h"
-
-bool plymouth_running(void) {
-        return access("/run/plymouth/pid", F_OK) >= 0;
-}
index e0539910c4aecec2fa4c3daf2b03c13525bad026..27b5eb28aa0559149db1638ad224e0db1d3de225 100644 (file)
@@ -1,11 +1,7 @@
 /* SPDX-License-Identifier: LGPL-2.1+ */
 #pragma once
 
-#include <stdbool.h>
-
 #define PLYMOUTH_SOCKET {                                       \
                 .un.sun_family = AF_UNIX,                       \
                 .un.sun_path = "\0/org/freedesktop/plymouthd",  \
         }
-
-bool plymouth_running(void);