diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2007-03-16 21:15:54 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2007-03-16 21:15:54 +0100 |
commit | d7fdcd61927e9439ad7079bb0967e0b6edac7646 (patch) | |
tree | a0ed53ed13b1bfdd27a3375e14f00453d4f0840f /udev_node.c | |
parent | 456cb387567da8a2beadf003dcbd874022dbc873 (diff) |
remove old error message
Diffstat (limited to 'udev_node.c')
-rw-r--r-- | udev_node.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/udev_node.c b/udev_node.c index 1632c2cc3c..ed323e9449 100644 --- a/udev_node.c +++ b/udev_node.c @@ -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'; |