summaryrefslogtreecommitdiff
path: root/src/udev/udevd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/udev/udevd.c')
-rw-r--r--src/udev/udevd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index 26f3d846e1..a41c196991 100644
--- a/src/udev/udevd.c
+++ b/src/udev/udevd.c
@@ -811,7 +811,6 @@ static void handle_signal(struct udev *udev, int signo)
}
}
-#ifndef HAVE_LIBKMOD
static void static_dev_create_from_modules(struct udev *udev)
{
struct utsname kernel;
@@ -882,7 +881,6 @@ static void static_dev_create_from_modules(struct udev *udev)
fclose(f);
}
-#endif
/*
* read the kernel commandline, in case we need to get into debug mode
@@ -1035,9 +1033,7 @@ int main(int argc, char *argv[])
mkdir("/run/udev", 0755);
dev_setup(NULL);
-#ifndef HAVE_LIBKMOD
static_dev_create_from_modules(udev);
-#endif
/* before opening new files, make sure std{in,out,err} fds are in a sane state */
if (daemonize) {