From patchwork Fri Apr 11 02:01:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 338324 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 927BA1400DF for ; Fri, 11 Apr 2014 12:04:21 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C18854B6BB; Fri, 11 Apr 2014 04:03:55 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 135h6ibxIkRB; Fri, 11 Apr 2014 04:03:55 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D09FB4B684; Fri, 11 Apr 2014 04:03:08 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8C8884B65B for ; Fri, 11 Apr 2014 04:02:43 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wRKlIWC5z-OP for ; Fri, 11 Apr 2014 04:02:40 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-qc0-f201.google.com (mail-qc0-f201.google.com [209.85.216.201]) by theia.denx.de (Postfix) with ESMTPS id 62A6B4B669 for ; Fri, 11 Apr 2014 04:02:30 +0200 (CEST) Received: by mail-qc0-f201.google.com with SMTP id c9so698302qcz.2 for ; Thu, 10 Apr 2014 19:02:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ZPVTGsilpcEZgHU/dXp8ouW3PHwdoxOY1yiZM4+EYTM=; b=U45en6CuKLpeYBSJv17r1yGpTvay2b0AOi4EU/figtcLdr2acuv6AVSyv7fPrb3bAF B0bYbXhPyAPhq5UGd6Gzcjx6YEDHrLo1QnUx3tEJO9Q0nPsmtAQK9BwgY8bb3uweFPu/ eIFwHIGlURUEi8O/K16bn9DY8lRXnN+QgZyMqjzmjb7vSZ4UTPOBncKRe4qCeGwXTdFF FkQMP5VpqOPCtpYLMXZYnbcmR5CM7FPm2DfpBBSuqsnhrmauQyI1Ax/AO40pb5vz5vvA 0tLq8/1MeKzq2uTewjytbVZq8BZ4aSj2mUgO+H0iNJMqL23vHtTkh7QumE7fFrRMHpPR 5qDQ== X-Gm-Message-State: ALoCoQm7J0pVn5fnoyzwY1WSOQ2HWRZRc9OKYM6yqnJb59+UsWScPQaUhS6k7V4kU0Y3majtvKo8MLBDcGfa4oWLbddXkZqQhOh6uabwLjR+IKPWRT1rPWpyl7cDDmDOlm/qDIJVOzMt90z2URrDxDuH6ZEIQnRp294NKuFs4j3ua/wS426a0Oi4H735sgUQojst4zIVjmG1 X-Received: by 10.236.87.73 with SMTP id x49mr8161987yhe.30.1397181747564; Thu, 10 Apr 2014 19:02:27 -0700 (PDT) Received: from corp2gmr1-2.hot.corp.google.com (corp2gmr1-2.hot.corp.google.com [172.24.189.93]) by gmr-mx.google.com with ESMTPS id g21si945786yhe.3.2014.04.10.19.02.27 for (version=TLSv1.1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 10 Apr 2014 19:02:27 -0700 (PDT) Received: from kaki.bld.corp.google.com (kaki.bld.corp.google.com [172.29.216.32]) by corp2gmr1-2.hot.corp.google.com (Postfix) with ESMTP id 5CF3D5A4217; Thu, 10 Apr 2014 19:02:27 -0700 (PDT) Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id EBD56220736; Thu, 10 Apr 2014 20:02:26 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Thu, 10 Apr 2014 20:01:23 -0600 Message-Id: <1397181696-7271-2-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 1.9.1.423.g4596e3a In-Reply-To: <1397181696-7271-1-git-send-email-sjg@chromium.org> References: <1397181696-7271-1-git-send-email-sjg@chromium.org> Cc: Tom Rini Subject: [U-Boot] [PATCH 01/14] Remove unnecessary use of hush header file X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Some files include hush.h but don't actually use it. Remove this where possible. Signed-off-by: Simon Glass --- arch/arm/cpu/arm926ejs/kirkwood/cpu.c | 1 - arch/arm/cpu/arm926ejs/orion5x/cpu.c | 1 - board/ait/cam_enc_4xx/cam_enc_4xx.c | 1 - board/mcc200/auto_update.c | 7 +------ common/cmd_bootm.c | 4 ---- common/cmd_bootmenu.c | 1 - 6 files changed, 1 insertion(+), 14 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/kirkwood/cpu.c b/arch/arm/cpu/arm926ejs/kirkwood/cpu.c index d4711c0..0937506 100644 --- a/arch/arm/cpu/arm926ejs/kirkwood/cpu.c +++ b/arch/arm/cpu/arm926ejs/kirkwood/cpu.c @@ -13,7 +13,6 @@ #include #include #include -#include #define BUFLEN 16 diff --git a/arch/arm/cpu/arm926ejs/orion5x/cpu.c b/arch/arm/cpu/arm926ejs/orion5x/cpu.c index b55c5f0..f88db3b 100644 --- a/arch/arm/cpu/arm926ejs/orion5x/cpu.c +++ b/arch/arm/cpu/arm926ejs/orion5x/cpu.c @@ -15,7 +15,6 @@ #include #include #include -#include #define BUFLEN 16 diff --git a/board/ait/cam_enc_4xx/cam_enc_4xx.c b/board/ait/cam_enc_4xx/cam_enc_4xx.c index 7e1b16a..b5cc3ed 100644 --- a/board/ait/cam_enc_4xx/cam_enc_4xx.c +++ b/board/ait/cam_enc_4xx/cam_enc_4xx.c @@ -9,7 +9,6 @@ #include #include -#include #include #include #include diff --git a/board/mcc200/auto_update.c b/board/mcc200/auto_update.c index 2f622b0..43173ce 100644 --- a/board/mcc200/auto_update.c +++ b/board/mcc200/auto_update.c @@ -12,11 +12,6 @@ #include #include -#ifdef CONFIG_SYS_HUSH_PARSER -#include -#endif - - #ifdef CONFIG_AUTO_UPDATE #ifndef CONFIG_USB_OHCI @@ -247,7 +242,7 @@ int au_do_update(int idx, long sz) /* parse_string_outer() runs off the end. */ addr[image_get_data_size (hdr)] = 0; addr += 8; - parse_string_outer(addr, FLAG_PARSE_SEMICOLON); + run_command_list(addr, -1, 0); return 0; } diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 9751edc..bfca006 100644 --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c @@ -32,10 +32,6 @@ #include #endif -#ifdef CONFIG_SYS_HUSH_PARSER -#include -#endif - #if defined(CONFIG_OF_LIBFDT) #include #include diff --git a/common/cmd_bootmenu.c b/common/cmd_bootmenu.c index 163d5b2..5879065 100644 --- a/common/cmd_bootmenu.c +++ b/common/cmd_bootmenu.c @@ -8,7 +8,6 @@ #include #include #include -#include #include #include #include