Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1580798pxb; Sat, 22 Jan 2022 00:11:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJz9iNdi56ZbLnBQSvMqPtqGP0gCihfEjQqbv3RFsQ6cp3TyQmWiKI4h3nB3Y5bFTGDGHpyD X-Received: by 2002:a63:6f4d:: with SMTP id k74mr5505662pgc.208.1642839113006; Sat, 22 Jan 2022 00:11:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642839113; cv=none; d=google.com; s=arc-20160816; b=O9wF9BTMNVPzpPOi9Q1qmzcFKREfFMUqgY+S/WM9VuAdHqYsjsuOxCn/kvo30xWnXO eSahVFHUZtuPvlXXDvgWeMQDenxT3jUhkSF38Cc/sw6LzfSXWXnmeFJElvP3auel2lfq 7bJUWQVKsito7iPUgVju+kjSgvwTPMthGMX9IYLdA55n47jVE2pZdUVG3X/WFbHcKrqd HPwJdFjGfAzeos+cWSX5358utxxUJvcbvATWL9ody+fnCS2018tALpAd+N6eNsINZ7gB Cg4lIKtb2ya1ooH9lAlKn6Ix5CH+SGUs/6fwy3ECuf9dURKpqqymk0U0DjeLQ1Lx1FkG umpg== 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:dkim-signature; bh=HBwBcEslsEJUIHlUFUtSDmxjwnpzAXbbde/CiaEHCWg=; b=p5aABLQuo15hnPdB1lU5Xh1yQofkDiFSlm5GFXGAV7kHS9ikPSBnjO5OFa6Y5z3Qd3 MXl8v+xiZWx13gd2QxMb5jhw8HDvLcZcU/zEAmOwedVWqhJcpQm8CeeJlv26KbClG8du tQKZOuo6efN0bD3ipQ5G72yk6FhvrtDOx2Aw8aPeHM1IerDZPHjXB64RCmlkdFXZJdZ+ rvLJT3qlwa1LghuEdau9mOIvFc0uPSxuFsTZ39d/PH97OMz50XSDYo58trdu4Wbpzf1c B1lHQeJYuZGzG4RGT4bwC36Am0XmSa4LN1qPpSdzjLdu+pKLIcTWdSycCHTPKNCeOsEP S5PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IEL5akOe; 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 x12si7898096plv.336.2022.01.22.00.11.40; Sat, 22 Jan 2022 00:11:52 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IEL5akOe; 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 S232196AbiAUVDF (ORCPT + 99 others); Fri, 21 Jan 2022 16:03:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230151AbiAUVDE (ORCPT ); Fri, 21 Jan 2022 16:03:04 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4047AC06173B for ; Fri, 21 Jan 2022 13:03:04 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id C4350B81E35 for ; Fri, 21 Jan 2022 21:03:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 43155C340E1; Fri, 21 Jan 2022 21:03:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1642798981; bh=UygxUJeKtrvWKjcOvHZavPMo687PCkqQ5Gov65k70nw=; h=From:To:Cc:Subject:Date:From; b=IEL5akOerrkcwljF+2e4ueemrEh9R7HItv7GnQQh2+VYFUaXD4cTTXjGhUSDiOS1u b9kyJFacnKO96BEuRSotLiuSsGG/F78NrUAW5o2gC+EEIaHNW8hrBxueWiyJGYsIRa nrW/yWqBeZkA9m5wCpyUj7crG5JhuyMGBHNcQAbnthhB0NDGhPBKSthgtg8nrGaWI8 LlAzCnuQ7CcnOsFAnK5y5/svINsvAU5Bxk53p2c8kZkqAOZcQhxRWW3apRcbxFPXFF LVo1pRMxl6bQ+7HRkrM+cmsYQDzOTuyJ8QanaKlmqCghgFPoAZxggRhCW+TEbpKW/Z LGK202lcfoa8A== From: Bjorn Helgaas To: Chris Zankel , Max Filippov Cc: linux-xtensa@linux-xtensa.org, linux-pci@linux-xtensa.org, linux-kernel@vger.kernel.org, Bjorn Helgaas Subject: [PATCH v1] xtensa: Remove unused early_read_config_byte() et al declarations Date: Fri, 21 Jan 2022 15:02:58 -0600 Message-Id: <20220121210258.1152803-1-helgaas@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bjorn Helgaas early_read_config_byte() and similar are declared but never defined. Remove the unused declarations. Signed-off-by: Bjorn Helgaas --- arch/xtensa/include/asm/pci-bridge.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/arch/xtensa/include/asm/pci-bridge.h b/arch/xtensa/include/asm/pci-bridge.h index 405526912d9a..e320aa5bbedb 100644 --- a/arch/xtensa/include/asm/pci-bridge.h +++ b/arch/xtensa/include/asm/pci-bridge.h @@ -73,13 +73,4 @@ static inline void pcibios_init_resource(struct resource *res, res->child = NULL; } - -/* These are used for config access before all the PCI probing has been done. */ -int early_read_config_byte(struct pci_controller*, int, int, int, u8*); -int early_read_config_word(struct pci_controller*, int, int, int, u16*); -int early_read_config_dword(struct pci_controller*, int, int, int, u32*); -int early_write_config_byte(struct pci_controller*, int, int, int, u8); -int early_write_config_word(struct pci_controller*, int, int, int, u16); -int early_write_config_dword(struct pci_controller*, int, int, int, u32); - #endif /* _XTENSA_PCI_BRIDGE_H */ -- 2.25.1