Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1905552pxb; Fri, 22 Oct 2021 09:49:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4S8C5PhZ6mOmvJ7sf6YUB6tTI3alCpJDI+4gcO6vgQOmOmrXWb6oaes86rFKWBPy9sQ9u X-Received: by 2002:a17:907:628d:: with SMTP id nd13mr824765ejc.7.1634921365477; Fri, 22 Oct 2021 09:49:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634921365; cv=none; d=google.com; s=arc-20160816; b=hl6KsQ/QuntmAuaeZ4uepGsTCNVo0BWcZEuiEFV0FyCMf8a4Cget4dO9TvyT5U7ZXS mTG/V+N8/zrMhHjT8Z+vw5qsxNT3JmxeZc+coMeI+qm203yqmvqxhtHSLbGfMCSZzxC4 4LRojP+h8b0zr2IR2vYntuFi2oexhG5AwW/r3xqwt/yXS2Ka6XC/w6WfwSYmIQJIXB8M TaGI6wYDaAYvGLnfD+WMbi45gq/4L8GjSrfs5WoeDPk7m4N91WOZjhbqHZtg2pd2jTqr j/+nEJRCEVC3EpizAORj3E4wwR/IYaLKgvTKEFs9TQYthJ7Ls5w3lIyfkRYDivQWp3Kj p87Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=CuHQiLwPgttoOSo35Yoz+xfshr3vSEDmXHMRu5gDvdg=; b=P+VClj+vc5NzegX1Xe3M8MNHzgQAtphyiPcQJaFVLVGZRBijn4RxRJOCb6rfEbFjB0 eYpjLTWB+Jx5O3waMuIw/kPBiYYqSNSy6uGk/MJ8jHTGg48By4MkY/hvEgzIzJfInPk2 /JUcaRX4YkfsGPLxbW9ChrQO2LlqR6kauIO1Ofw/wBUe4UcrS8DikgkWKqtYVr+Q2CoO eJuB2a4rFW0auLO7qRE8s28vhZW2nCNsjo5y7rUb8jYEe7imUsjwLdeF7JalCzmcdkfX wc1qr/khdpzE3LAhqC2khQV7RPXruYePeP8LGbbnKYZEcxJ6N+bRcrNNYasxCLTkeeuw mBiA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ga33si14946705ejc.669.2021.10.22.09.49.01; Fri, 22 Oct 2021 09:49:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233483AbhJVQtC (ORCPT + 99 others); Fri, 22 Oct 2021 12:49:02 -0400 Received: from mail-oo1-f42.google.com ([209.85.161.42]:36493 "EHLO mail-oo1-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232190AbhJVQtB (ORCPT ); Fri, 22 Oct 2021 12:49:01 -0400 Received: by mail-oo1-f42.google.com with SMTP id r1-20020a4a9641000000b002b6b55007bfso1287106ooi.3; Fri, 22 Oct 2021 09:46:44 -0700 (PDT) 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:mime-version :content-transfer-encoding; bh=CuHQiLwPgttoOSo35Yoz+xfshr3vSEDmXHMRu5gDvdg=; b=xk3LwFXLi+XyE5OvJ8zrznfW2w/Kg6HTcWfVVL2p8W31iBR/Z1S2cSQIWPRUKONkgY XwLkX1HekocmHUK2KYMDSitttg7+TlD/YavERvPwAaDSRUn/fpnj4X0auSfH9c1HFTpx P33xhuWZ8opj5pMoFBzqLnuDDDeTnpEAvBeJ29zri5FrTVQO5/tyrr1uoPuDVcyXxvlw 19SBl0mMFCOnXwzvPVw3t9bAkkfTNr5nSyGVHZSowUtBQ7TFqxVk0qik5pv40m2meJfK ARAvxPEWuhmbwHkLK7aOqwAST1ZXhh3CDni/mbCP3kPBT45d7yCDLzQONHeMharrrQzo 4y+A== X-Gm-Message-State: AOAM530z81/PrlQtbgZCXEr5Ky+YHGU+sAxCN8Qvbdw7aetBJVH+xOic +cM/brc+/LvVCEDg52rpg81Pl9XA4A== X-Received: by 2002:a4a:d48c:: with SMTP id o12mr799385oos.55.1634921203721; Fri, 22 Oct 2021 09:46:43 -0700 (PDT) Received: from xps15.herring.priv (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.googlemail.com with ESMTPSA id j15sm1095583otp.27.2021.10.22.09.46.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Oct 2021 09:46:43 -0700 (PDT) From: Rob Herring To: x86@kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Frank Rowand Subject: [PATCH] x86: of: Kill unused early_init_dt_scan_chosen_arch() Date: Fri, 22 Oct 2021 11:46:42 -0500 Message-Id: <20211022164642.2815706-1-robh@kernel.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There are no callers for early_init_dt_scan_chosen_arch(), so remove it. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: x86@kernel.org Cc: "H. Peter Anvin" Cc: Frank Rowand Signed-off-by: Rob Herring --- arch/x86/kernel/devicetree.c | 5 ----- include/linux/of_fdt.h | 1 - 2 files changed, 6 deletions(-) diff --git a/arch/x86/kernel/devicetree.c b/arch/x86/kernel/devicetree.c index 3aa1e99df2a9..5cd51f25f446 100644 --- a/arch/x86/kernel/devicetree.c +++ b/arch/x86/kernel/devicetree.c @@ -31,11 +31,6 @@ char __initdata cmd_line[COMMAND_LINE_SIZE]; int __initdata of_ioapic; -void __init early_init_dt_scan_chosen_arch(unsigned long node) -{ - BUG(); -} - void __init early_init_dt_add_memory_arch(u64 base, u64 size) { BUG(); diff --git a/include/linux/of_fdt.h b/include/linux/of_fdt.h index cf6a65b94d40..cf48983d3c86 100644 --- a/include/linux/of_fdt.h +++ b/include/linux/of_fdt.h @@ -65,7 +65,6 @@ extern int early_init_dt_scan_memory(unsigned long node, const char *uname, extern int early_init_dt_scan_chosen_stdout(void); extern void early_init_fdt_scan_reserved_mem(void); extern void early_init_fdt_reserve_self(void); -extern void __init early_init_dt_scan_chosen_arch(unsigned long node); extern void early_init_dt_add_memory_arch(u64 base, u64 size); extern u64 dt_mem_next_cell(int s, const __be32 **cellp); -- 2.32.0