summaryrefslogtreecommitdiff
path: root/udevstart.c
diff options
context:
space:
mode:
Diffstat (limited to 'udevstart.c')
-rw-r--r--udevstart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udevstart.c b/udevstart.c
index 8f8342ff48..d9d6a7b521 100644
--- a/udevstart.c
+++ b/udevstart.c
@@ -108,7 +108,7 @@ static int add_device(const char *devpath)
{
struct sysfs_device *dev;
struct udevice *udev;
- int retval;
+ int retval = 0;
/* clear and set environment for next event */
clearenv();