summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2014-02-16 08:40:45 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2014-02-17 08:06:11 +0100
commit9fe20fd5b166771951bd9b6964f199054214394a (patch)
treef4f8367601b813e14497dd35ace419fb808c4451 /commands
parent0758c478a61972d59a7fc6598e39ea1747d50156 (diff)
downloadbarebox-9fe20fd5b166771951bd9b6964f199054214394a.tar.gz
barebox-9fe20fd5b166771951bd9b6964f199054214394a.tar.xz
boot command: Remove redundant assignment
Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands')
-rw-r--r--commands/boot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/boot.c b/commands/boot.c
index c4b49a9035..ccf5827a59 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);