Message ID | 20220723170512.1472738-1-trini@konsulko.com |
---|---|
State | Accepted |
Commit | 6eaa0e4ac6d87591fbfaecdd1e3ae9b548063b1a |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=nUvikAWP; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Lqt3V1z3Qz9tD5 for <incoming@patchwork.ozlabs.org>; Sun, 24 Jul 2022 03:05:26 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9BB9E84118; Sat, 23 Jul 2022 19:05:20 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="nUvikAWP"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2EAA8840FE; Sat, 23 Jul 2022 19:05:19 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id BAEB883FCB for <u-boot@lists.denx.de>; Sat, 23 Jul 2022 19:05:16 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x72e.google.com with SMTP id c3so5760028qko.1 for <u-boot@lists.denx.de>; Sat, 23 Jul 2022 10:05:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=FlhS3gqKW1iioAQl8Kcucv1U0Try9D+CZb7QHkwvduU=; b=nUvikAWPVU0IfwHKxl9PADa6NYYavKGrhCj8lTFAXK8PBK9T/4CP/hR8hZM/8KCBsy hfAWTw5cQe3GSXSxj5dtMNKtO24F3tfeM/4sjkvhFdLWmdPVewyIrLUEcWhgpTxMp9bD mnwo4ofjyPbAcwCJIXhDEVuXdgmESzjCj5EKQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=FlhS3gqKW1iioAQl8Kcucv1U0Try9D+CZb7QHkwvduU=; b=skwY/zm+e2FvE3ImpVThV5mlYjyodLbDJDQ4nX+H3zkLdn39MRCx/T0JcbPGFT6bKe O7m8qVDGXRFgXEz9VygTfbRso23QUMl6byEyE3QpFF8AzCoSrs/fZK5bD3tzLS6YOft5 H5VlMPHCd57+hUD4Ou8z1fUhQe7qB/1rkmtwt3LqTvwPnPCFwVHsEsPZxLxVVHveafG+ SygNxuMlBnJdMD7KyV6b+t7nnUOyh3A8F+NvLtgPjG/NiqNdw66t8ra9zKQYxcpRqk7Q U0S7nEWSMbLUuhTXxUJO9V2XinYwHZJ04wKJnn+NWpypjt9iSTIxt2mdPsI56Y27njRp M0vQ== X-Gm-Message-State: AJIora/0YqY7jZ2rGhTbmUBXYoFgxzg9vOE0atnmcLAN73rP16yCeUSx hHqYqy5A4AstDw6CebzMfrtDhiWHlJAO5w== X-Google-Smtp-Source: AGRyM1sr0zWVXW3LQ6iFUMEv1x5BPjnatRx/kiqjobAcmesgMhpuAhetY0LUwqfiq2gWKI4TEIJQUA== X-Received: by 2002:a05:620a:1a8f:b0:6b5:fe28:f91d with SMTP id bl15-20020a05620a1a8f00b006b5fe28f91dmr3977816qkb.279.1658595914753; Sat, 23 Jul 2022 10:05:14 -0700 (PDT) Received: from bill-the-cat.lan (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id w12-20020a05620a444c00b006a981a2c483sm5983901qkp.39.2022.07.23.10.05.12 for <u-boot@lists.denx.de> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Jul 2022 10:05:13 -0700 (PDT) From: Tom Rini <trini@konsulko.com> To: u-boot@lists.denx.de Subject: [PATCH 01/20] sh: Remove unused code in arch/sh/lib/bootm.c Date: Sat, 23 Jul 2022 13:04:53 -0400 Message-Id: <20220723170512.1472738-1-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean |
Series |
[01/20] sh: Remove unused code in arch/sh/lib/bootm.c
|
expand
|
diff --git a/arch/sh/lib/bootm.c b/arch/sh/lib/bootm.c index 9b71424dfe60..7ea04442b876 100644 --- a/arch/sh/lib/bootm.c +++ b/arch/sh/lib/bootm.c @@ -17,21 +17,6 @@ DECLARE_GLOBAL_DATA_PTR; -#ifdef CONFIG_SYS_DEBUG -static void hexdump(unsigned char *buf, int len) -{ - int i; - - for (i = 0; i < len; i++) { - if ((i % 16) == 0) - printf("%s%08x: ", i ? "\n" : "", - (unsigned int)&buf[i]); - printf("%02x ", buf[i]); - } - printf("\n"); -} -#endif - #ifdef CONFIG_SH_SDRAM_OFFSET #define GET_INITRD_START(initrd, linux) (initrd - linux + CONFIG_SH_SDRAM_OFFSET) #else
There are no callers of the hexdump function that is guarded by CONFIG_SYS_DEBUG, so remove the section. Signed-off-by: Tom Rini <trini@konsulko.com> --- arch/sh/lib/bootm.c | 15 --------------- 1 file changed, 15 deletions(-)