diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2004-10-14 20:36:07 -0700 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 22:02:44 -0700 |
commit | 707680b1cf08369da365de1a5e06089621ff8c77 (patch) | |
tree | 8ef5a035208acb8292102f4f61e078d0aac318cf /udev_config.c | |
parent | 32935a50ea9d0f97f9416da1512c11a346888d28 (diff) |
[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.
Diffstat (limited to 'udev_config.c')
-rw-r--r-- | udev_config.c | 6 |
1 files changed, 0 insertions, 6 deletions
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)) |