summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--udev-add.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/udev-add.c b/udev-add.c
index 2f64b4375a..8fdd66fad5 100644
--- a/udev-add.c
+++ b/udev-add.c
@@ -251,8 +251,6 @@ static int create_node(struct udevice *dev, int fake)
i++;
}
- if (linktarget[0] == '\0')
- strfieldcpy(linktarget, "./");
strfieldcat(linktarget, &dev->name[tail]);
/* unlink existing files to ensure that our symlink is created */