summaryrefslogtreecommitdiff
path: root/namedev_parse.c
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-12-25 00:33:27 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:11 -0700
commit2ae1a0c6f33a2050346269588416e715ed8d4cfa (patch)
tree35d1629bea1619ab3e61763727dfc26ebe3d205f /namedev_parse.c
parenta7402175da70f53d308450b50dd0c00cb733276e (diff)
[PATCH] Don't require the BUS value for the LABEL rule.
Diffstat (limited to 'namedev_parse.c')
-rw-r--r--namedev_parse.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/namedev_parse.c b/namedev_parse.c
index 449aa44eaa..aec87d2771 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;