chiark / gitweb /
bus: the :no-sender hack is now unnecessary, since the new library doesn't require...
[elogind.git] / src / libsystemd-bus / bus-internal.c
index 3fb1cf40f35c72e863a1e52b470cc8b198c86643..0bea8cac498918b3e2f959ac07da4e8152c5558c 100644 (file)
@@ -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;