summaryrefslogtreecommitdiff
path: root/src/basic
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-10-23 22:56:24 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-10-24 11:48:08 +0200
commit8a2c82ac882f4adfb0f7bdc039c84e880ddd689a (patch)
tree5791f65d56000c4f51cb808c9b424d35c97924ff /src/basic
parent235ecb6d75f00384b3f42f449c769340e13fbd0b (diff)
downloadsystemd-8a2c82ac882f4adfb0f7bdc039c84e880ddd689a.tar.gz
Remove unused plymouth_running() function
Diffstat (limited to 'src/basic')
-rw-r--r--src/basic/meson.build1
-rw-r--r--src/basic/plymouth-util.c9
-rw-r--r--src/basic/plymouth-util.h4
3 files changed, 0 insertions, 14 deletions
diff --git a/src/basic/meson.build b/src/basic/meson.build
index 43ab1849f9..b23ca586d2 100644
--- a/src/basic/meson.build
+++ b/src/basic/meson.build
@@ -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
index 2023ec3671..0000000000
--- a/src/basic/plymouth-util.c
+++ /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;
-}
diff --git a/src/basic/plymouth-util.h b/src/basic/plymouth-util.h
index e0539910c4..27b5eb28aa 100644
--- a/src/basic/plymouth-util.h
+++ b/src/basic/plymouth-util.h
@@ -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);