]> err.no Git - systemd/commitdiff
remove debug output during rules parsing
authorKay Sievers <kay.sievers@vrfy.org>
Mon, 3 May 2010 16:09:25 +0000 (18:09 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Mon, 3 May 2010 16:09:25 +0000 (18:09 +0200)
udev/udev-rules.c

index 6f3335b8c8affd6ee9cbd137f32f6ea412d0ac19..eb73221fa9026135847b9d60353bce30bf6fdf8d 100644 (file)
@@ -1468,9 +1468,7 @@ static int add_rule(struct udev_rules *rules, char *line,
                        if (op < OP_MATCH_MAX) {
                                rule_add_key(&rule_tmp, TK_M_NAME, op, value, NULL);
                        } else {
-                               if (value[0] == '\0')
-                                       info(rules->udev, "name empty, node creation suppressed\n");
-                               else if (strcmp(value, "%k") == 0)
+                               if (strcmp(value, "%k") == 0)
                                        err(rules->udev, "NAME=\"%%k\" is superfluous and breaks "
                                            "kernel supplied names, please remove it from %s:%u\n", filename, lineno);
                                rule_add_key(&rule_tmp, TK_A_NAME, op, value, NULL);