chiark / gitweb /
tree-wide: drop 'This file is part of systemd' blurb
[elogind.git] / src / shared / clean-ipc.c
index b328432ad33909a5cac6bfa6be78ceeeed55c547..844dc9db96a27bf63b29ccc3497f53ba3220f783 100644 (file)
@@ -1,20 +1,6 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
 /***
-  This file is part of systemd.
-
   Copyright 2014 Lennart Poettering
-
-  systemd is free software; you can redistribute it and/or modify it
-  under the terms of the GNU Lesser General Public License as published by
-  the Free Software Foundation; either version 2.1 of the License, or
-  (at your option) any later version.
-
-  systemd is distributed in the hope that it will be useful, but
-  WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-  Lesser General Public License for more details.
-
-  You should have received a copy of the GNU Lesser General Public License
-  along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
 #include <dirent.h>
@@ -451,6 +437,7 @@ int clean_ipc_internal(uid_t uid, gid_t gid, bool rm) {
                         ret = r;
         }
 
+#if 0 /// Nothing in elogind uses mqueues
         r = clean_posix_mq(uid, gid, rm);
         if (r != 0) {
                 if (!rm)
@@ -458,6 +445,7 @@ int clean_ipc_internal(uid_t uid, gid_t gid, bool rm) {
                 if (ret == 0)
                         ret = r;
         }
+#endif // 0
 
         return ret;
 }