summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-internal.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-21 02:17:24 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-21 21:12:36 +0100
commit51b4ea6f485a852671a2a95122121ecb494de331 (patch)
treed2ee101a7de33a0aa2399e9ea65897fb87e61812 /src/libsystemd-bus/bus-internal.c
parent5a3eb5a77d7c491a31818c4dfdcf8fd7dcaaadb2 (diff)
bus: the :no-sender hack is now unnecessary, since the new library doesn't require this anymore
Diffstat (limited to 'src/libsystemd-bus/bus-internal.c')
-rw-r--r--src/libsystemd-bus/bus-internal.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/libsystemd-bus/bus-internal.c b/src/libsystemd-bus/bus-internal.c
index 3fb1cf40f3..0bea8cac49 100644
--- a/src/libsystemd-bus/bus-internal.c
+++ b/src/libsystemd-bus/bus-internal.c
@@ -166,17 +166,6 @@ bool service_name_is_valid(const char *p) {
return true;
}
-bool sender_name_is_valid(const char *p) {
- if (isempty(p))
- return false;
-
- /* FIXME: remove after PID 1 bus conversion */
- if (streq(p, ":no-sender"))
- return true;
-
- return service_name_is_valid(p);
-}
-
bool member_name_is_valid(const char *p) {
const char *q;