summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;