chiark / gitweb /
check for ignore_device in loop looks redundant
authorAndrey Borzenkov <arvidjaar@mail.ru>
Thu, 26 Jan 2006 01:24:13 +0000 (02:24 +0100)
committerKay Sievers <kay.sievers@suse.de>
Thu, 26 Jan 2006 01:24:13 +0000 (02:24 +0100)
udevstart.c

index d9d6a7b..e5ce7af 100644 (file)
@@ -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");