[PATCH 2/7] boot command: Remove redundant assignment

Alexander Shiyan shc_work at mail.ru
Sat Feb 15 23:40:45 EST 2014


Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
---
 commands/boot.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands/boot.c b/commands/boot.c
index c4b49a9..ccf5827 100644
--- a/commands/boot.c
+++ b/commands/boot.c
@@ -308,7 +308,7 @@ static int boot(const char *name)
 {
 	struct blspec *blspec;
 	struct blspec_entry *entry;
-	int ret = -ENOENT;
+	int ret;
 
 	blspec = blspec_alloc();
 	ret = bootentry_parse_one(blspec, name);
-- 
1.8.3.2




More information about the barebox mailing list