]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/kmod-setup.c
tree-wide: drop 'This file is part of systemd' blurb
[thirdparty/systemd.git] / src / core / kmod-setup.c
index 10d3ced93dbaf54f8d41509994fa3cc2ea6a622e..623b58a0b3ad3b098fea1b8311c2cf7fe16ff35e 100644 (file)
@@ -1,40 +1,24 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
 /***
-  This file is part of systemd.
-
   Copyright 2010 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 <ftw.h>
 #include <string.h>
 #include <unistd.h>
 
-#if HAVE_KMOD
-#include <libkmod.h>
-#endif
-
 #include "alloc-util.h"
 #include "bus-util.h"
 #include "capability-util.h"
 #include "fileio.h"
 #include "kmod-setup.h"
 #include "macro.h"
-#include "module-util.h"
 #include "string-util.h"
 
 #if HAVE_KMOD
+#include <libkmod.h>
+#include "module-util.h"
+
 static void systemd_kmod_log(
                 void *data,
                 int priority,