summaryrefslogtreecommitdiff
path: root/udevstart.c
diff options
context:
space:
mode:
authorAndrey Borzenkov <arvidjaar@mail.ru>2006-01-26 02:24:13 +0100
committerKay Sievers <kay.sievers@suse.de>2006-01-26 02:24:13 +0100
commitf7ed0d113a964aae8da4ca752d1330704adb1c65 (patch)
treedf9c8439ab1d8ce1e5d75274fb1c8258996a9913 /udevstart.c
parent864412e02df16555c02da9ccb0a67fddb6628acd (diff)
check for ignore_device in loop looks redundant
Diffstat (limited to 'udevstart.c')
-rw-r--r--udevstart.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/udevstart.c b/udevstart.c
index d9d6a7b521..e5ce7af030 100644
--- a/udevstart.c
+++ b/udevstart.c
@@ -149,12 +149,10 @@ static int add_device(const char *devpath)
}
if (udev->name[0] != '\0')
retval = udev_add_device(udev);
- else {
+ else
info("device node creation supressed");
- goto exit;
- }
- if (retval == 0 && !udev->ignore_device && udev_run) {
+ if (retval == 0 && udev_run) {
struct name_entry *name_loop;
dbg("executing run list");