]> err.no Git - systemd/commitdiff
[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 449aa44eaaeb53da2c55229ed106c17afa0b283c..aec87d27713c0ee2fbba1807c39efb80a7d9c7f1 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;