]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
main: voidify call to kmod_setup()
authorLennart Poettering <lennart@poettering.net>
Thu, 21 Apr 2022 08:37:12 +0000 (10:37 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 21 Apr 2022 08:37:32 +0000 (10:37 +0200)
src/core/main.c

index 438405bda2739b6f9275949fb1f673515195c07b..804269843162dd240f6544eab82bb90e61391704 100644 (file)
@@ -2779,7 +2779,7 @@ int main(int argc, char *argv[]) {
 
                 /* Load the kernel modules early. */
                 if (!skip_setup)
-                        kmod_setup();
+                        (void) kmod_setup();
 
                 /* Mount /proc, /sys and friends, so that /proc/cmdline and /proc/$PID/fd is available. */
                 r = mount_setup(loaded_policy, skip_setup);