From f7ed0d113a964aae8da4ca752d1330704adb1c65 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Thu, 26 Jan 2006 02:24:13 +0100 Subject: check for ignore_device in loop looks redundant --- udevstart.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'udevstart.c') 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"); -- cgit v1.2.3-54-g00ecf