From 707680b1cf08369da365de1a5e06089621ff8c77 Mon Sep 17 00:00:00 2001 From: "kay.sievers@vrfy.org" Date: Thu, 14 Oct 2004 20:36:07 -0700 Subject: [PATCH] remove sleeps from udev as it is external now Here we remove all the sysfs sleep loops from udev as wait_for_sysfs will do this for us and any other hotplug user. We still keep a small blacklist of subsystems we don't care about but any missing entry here will no longer lead to a spinning udev waiting for files. --- udev_config.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'udev_config.c') diff --git a/udev_config.c b/udev_config.c index ba2b3d2b88..ae755f39fd 100644 --- a/udev_config.c +++ b/udev_config.c @@ -50,7 +50,6 @@ char default_mode_str[MODE_SIZE]; char default_owner_str[OWNER_SIZE]; char default_group_str[GROUP_SIZE]; int udev_log; -int udev_sleep; int udev_dev_d; @@ -79,11 +78,6 @@ static void init_variables(void) strfieldcpy(udev_permissions_filename, UDEV_PERMISSION_FILE); udev_log = string_is_true(UDEV_LOG_DEFAULT); - udev_sleep = 1; - env = getenv("UDEV_NO_SLEEP"); - if (env && string_is_true(env)) - udev_sleep = 0; - udev_dev_d = 1; env = getenv("UDEV_NO_DEVD"); if (env && string_is_true(env)) -- cgit v1.2.3-54-g00ecf