summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--udev_node.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/udev_node.c b/udev_node.c
index c620e4aa0b..bd58a6c485 100644
--- a/udev_node.c
+++ b/udev_node.c
@@ -408,8 +408,8 @@ int udev_node_remove(struct udevice *udev)
strlcat(filename, "/", sizeof(filename));
strlcat(filename, udev->name, sizeof(filename));
if (stat(filename, &stats) != 0) {
- dbg("device node '%s' not found", filename);
- return -1;
+ info("device node '%s' not found", filename);
+ return 0;
}
if (udev->devt && stats.st_rdev != udev->devt) {
info("device node '%s' points to a different device, skip removal", filename);