]> err.no Git - systemd/commitdiff
remove old error message
authorKay Sievers <kay.sievers@vrfy.org>
Fri, 16 Mar 2007 20:15:54 +0000 (21:15 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Fri, 16 Mar 2007 20:15:54 +0000 (21:15 +0100)
udev_node.c

index 1632c2cc3ce8823a27deeaece3c3cc6618c02b11..ed323e94495fd71b1c31494a60751f3e988557a9 100644 (file)
@@ -337,10 +337,8 @@ int udev_node_remove(struct udevice *udev)
                int i;
 
                info("removing all_partitions '%s[1-%i]'", filename, num);
-               if (num > 255) {
-                       info("garbage from udev database, skip all_partitions removal");
+               if (num > 255)
                        return -1;
-               }
                for (i = 1; i <= num; i++) {
                        snprintf(partitionname, sizeof(partitionname), "%s%d", filename, i);
                        partitionname[sizeof(partitionname)-1] = '\0';