diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2014-02-16 08:40:45 +0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-02-17 08:06:11 +0100 |
commit | 9fe20fd5b166771951bd9b6964f199054214394a (patch) | |
tree | f4f8367601b813e14497dd35ace419fb808c4451 /commands | |
parent | 0758c478a61972d59a7fc6598e39ea1747d50156 (diff) | |
download | barebox-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.c | 2 |
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); |