summaryrefslogtreecommitdiff
path: root/udev.h
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-10-14 20:36:07 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 22:02:44 -0700
commit707680b1cf08369da365de1a5e06089621ff8c77 (patch)
tree8ef5a035208acb8292102f4f61e078d0aac318cf /udev.h
parent32935a50ea9d0f97f9416da1512c11a346888d28 (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.h')
-rw-r--r--udev.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/udev.h b/udev.h
index d66e9f626e..642b30b517 100644
--- a/udev.h
+++ b/udev.h
@@ -27,8 +27,6 @@
#include "libsysfs/sysfs/libsysfs.h"
#define ALARM_TIMEOUT 30
-#define WAIT_FOR_FILE_SECONDS 10
-#define WAIT_FOR_FILE_RETRY_FREQ 10
#define COMMENT_CHARACTER '#'
#define NAME_SIZE 256
@@ -90,7 +88,6 @@ extern char default_mode_str[MODE_SIZE];
extern char default_owner_str[OWNER_SIZE];
extern char default_group_str[GROUP_SIZE];
extern int udev_log;
-extern int udev_sleep;
extern int udev_dev_d;
#endif