From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 110FAC433EF for ; Mon, 20 Sep 2021 16:15:32 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 774F760F58 for ; Mon, 20 Sep 2021 16:15:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 774F760F58 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3F0C28048A; Mon, 20 Sep 2021 18:15:14 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="JtWyy05h"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C32D980608; Mon, 20 Sep 2021 18:14:53 +0200 (CEST) Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) (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 BAA9980EEA for ; Mon, 20 Sep 2021 18:14:47 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=aford173@gmail.com Received: by mail-io1-xd32.google.com with SMTP id d18so10508871iof.13 for ; Mon, 20 Sep 2021 09:14:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=pIVeqKwDvxNGnJXZu9SiPqhPcrjZjBebTJIXVJzUK1o=; b=JtWyy05hrE7UIoF016Xj+11ScoSB8UKjSjKyQ6p4bDcUcr//8QW+qSD9ZC8zUB5Cns T4WkcRo05sQaH9O3JSTpnV76sk8VmnImvlT+ueSjLyDC8/0x757vYGpSEDSh+pEFlYfH pPSEwQaNHsPbhOznXox1Dv/glhE6nWGhxQJ0vF9eKZwOczRpAXPT0nd/EAok5vKw3JI/ XcudUwdxEDHhZRjvgruQx76g1uN7iqEvTOxcs8/Mg46lgjg36GqL80CBBI/1w2K0L6RV bntbhzaP6spCZ1CNm0s4mOpe1n3d1NncaNCbjZIrS35RJloLT4l6xC3FStf31rlVlvF+ kozg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=pIVeqKwDvxNGnJXZu9SiPqhPcrjZjBebTJIXVJzUK1o=; b=aM7RnNmd0lIDIu1OUMgzztRr+nDwBjP0MRXt0zeJIf3d0UV5wO5Lcq/IhGQ/2h3lW8 Rzuit7NKKSucJwRipqPlDOgWGfifHCh4dBUzJaSK7Y/Olm2jayCBzoTjuSX2yF3uS90/ uOyO6hg0OIDk2jkvkp5QmkFjdutTfZmlGLsjOk3I8lnAKGUQodTYe6Cqzcf/lLo1OHPs uKQysmAKLhqTZ/YaUSEbViR/8eCOnqehNKdXbpqokEPzofJ8iYVAFauI+OeQ/ivyiLFv 8JVLKelADHFuc3DAFWrkslgqEPmHnuaFDWoXZM7SPKtgNS+r0BfYW7bO9oPOUEAaV/6i 9YoQ== X-Gm-Message-State: AOAM530CmRzbKOdkhVufmXVzCdgSOGVqh7WjCm8+cX4wBhRAfnzp57Yj 6KspQKvuDjdEPYYp6ekHpUt4Y2ne2NE= X-Google-Smtp-Source: ABdhPJwyRJtBx3uuSsy8Y1ssz9xXfq8htUBjq8+U96rqz0PmGUZDXd6OqeR6+x1yJKcMlu/jdeIOig== X-Received: by 2002:a05:6602:25d4:: with SMTP id d20mr6787162iop.135.1632154485956; Mon, 20 Sep 2021 09:14:45 -0700 (PDT) Received: from aford-OptiPlex-7050.logicpd.com ([174.46.170.158]) by smtp.gmail.com with ESMTPSA id e13sm8699294iod.36.2021.09.20.09.14.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Sep 2021 09:14:45 -0700 (PDT) From: Adam Ford To: u-boot@lists.denx.de Cc: marek.vasut+renesas@gmail.com, aford@beaconembedded.com, Adam Ford Subject: [PATCH V2 4/6] ARM: rmobile: Beacon: Remove dead code Date: Mon, 20 Sep 2021 11:14:30 -0500 Message-Id: <20210920161432.13110-4-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210920161432.13110-1-aford173@gmail.com> References: <20210920161432.13110-1-aford173@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean There are a few do-nothing functions that can be removed. Remove them. Signed-off-by: Adam Ford --- board/beacon/beacon-rzg2m/beacon-rzg2m.c | 10 ---------- configs/r8a774a1_beacon_defconfig | 1 + 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/board/beacon/beacon-rzg2m/beacon-rzg2m.c b/board/beacon/beacon-rzg2m/beacon-rzg2m.c index b3521fcbc1..df6044a429 100644 --- a/board/beacon/beacon-rzg2m/beacon-rzg2m.c +++ b/board/beacon/beacon-rzg2m/beacon-rzg2m.c @@ -10,16 +10,6 @@ DECLARE_GLOBAL_DATA_PTR; -void s_init(void) -{ -} - -/* Kconfig forces this on, so just return 0 */ -int board_early_init_f(void) -{ - return 0; -} - int board_init(void) { /* address of boot parameters */ diff --git a/configs/r8a774a1_beacon_defconfig b/configs/r8a774a1_beacon_defconfig index 11c99d4850..aaea9b4c30 100644 --- a/configs/r8a774a1_beacon_defconfig +++ b/configs/r8a774a1_beacon_defconfig @@ -13,6 +13,7 @@ CONFIG_FIT=y CONFIG_SUPPORT_RAW_INITRD=y # CONFIG_ARCH_FIXUP_FDT_MEMORY is not set CONFIG_DEFAULT_FDT_FILE="r8a774a1-beacon-rzg2m-kit.dtb" +# CONFIG_BOARD_EARLY_INIT_F is not set CONFIG_HUSH_PARSER=y CONFIG_CMD_BOOTZ=y CONFIG_CMD_GPIO=y -- 2.25.1