From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Fri, 30 Jun 2017 15:52:10 +0200 Subject: [U-Boot] [PATCH] km/common: remove unused code In-Reply-To: <20170630133335.15461-1-holger.brunck@keymile.com> References: <20170630133335.15461-1-holger.brunck@keymile.com> Message-ID: <5956578A.9070705@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Holger, Am 30.06.2017 um 15:33 schrieb Holger Brunck: > The 82xx board mgcoge3ne was removed from the codebase, so this is dead > code. > > Signed-off-by: Holger Brunck > Cc: Heiko Schocher > --- > board/keymile/common/common.c | 3 --- > 1 file changed, 3 deletions(-) nice catch! Thanks! Reviewed-by: Heiko Schocher bye, Heiko > > diff --git a/board/keymile/common/common.c b/board/keymile/common/common.c > index 0829b7fa06..408079c9a1 100644 > --- a/board/keymile/common/common.c > +++ b/board/keymile/common/common.c > @@ -355,9 +355,6 @@ static int do_checktestboot(cmd_tbl_t *cmdtp, int flag, int argc, > #if defined(CONFIG_POST) > testpin = post_hotkeys_pressed(); > #endif > -#if defined(CONFIG_MGCOGE3NE) > - testpin = get_testpin(); > -#endif > s = getenv("test_bank"); > /* when test_bank is not set, act as if testpin is not asserted */ > testboot = (testpin != 0) && (s); > -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany