From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp33.i.mail.ru ([94.100.177.93]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WEtXa-0004b7-M6 for barebox@lists.infradead.org; Sun, 16 Feb 2014 04:41:20 +0000 From: Alexander Shiyan Date: Sun, 16 Feb 2014 08:40:45 +0400 Message-Id: <1392525650-5551-2-git-send-email-shc_work@mail.ru> In-Reply-To: <1392525650-5551-1-git-send-email-shc_work@mail.ru> References: <1392525650-5551-1-git-send-email-shc_work@mail.ru> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 2/7] boot command: Remove redundant assignment To: barebox@lists.infradead.org Signed-off-by: Alexander Shiyan --- 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 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox