chiark / gitweb /
[PATCH] Don't require the BUS value for the LABEL rule.
authorgreg@kroah.com <greg@kroah.com>
Thu, 25 Dec 2003 08:33:27 +0000 (00:33 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:13:11 +0000 (21:13 -0700)
namedev_parse.c

index 449aa44..aec87d2 100644 (file)
@@ -289,7 +289,6 @@ keys:
                                  dev.name, dev.bus, dev.sysfs_pair[0].file,
                                  dev.sysfs_pair[0].value, dev.symlink);
                        if ((*dev.name == '\0') ||
-                           (*dev.bus == '\0') ||
                            (*dev.sysfs_pair[0].file == '\0') ||
                            (*dev.sysfs_pair[0].value == '\0'))
                                goto error;