From: greg@kroah.com Date: Thu, 25 Dec 2003 08:33:27 +0000 (-0800) Subject: [PATCH] Don't require the BUS value for the LABEL rule. X-Git-Tag: 011~3 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=2ae1a0c6f33a2050346269588416e715ed8d4cfa [PATCH] Don't require the BUS value for the LABEL rule. --- diff --git a/namedev_parse.c b/namedev_parse.c index 449aa44ea..aec87d277 100644 --- a/namedev_parse.c +++ b/namedev_parse.c @@ -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;