Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4565156ybi; Mon, 15 Jul 2019 10:57:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqw9h4MjGxaJKE4QwbkSE/iDhkT/n1husImNmZYSrocSUAaWDALJLUalV2FoHfuqfreF9QSt X-Received: by 2002:a63:5f95:: with SMTP id t143mr27346101pgb.304.1563213475457; Mon, 15 Jul 2019 10:57:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563213475; cv=none; d=google.com; s=arc-20160816; b=zMQ/rs8KADoFkv5NYnmUn6T+LviBNqShwYSLyLDRBotCIJbbB80i3Ry+Ik32wpa6gI 0BmhoE7Ey7XxAFPFuAy12yAF2HV+yku3/ErrBeC1SXRygahbIaUoYTBFG0NLyuUlFXLR y+vfqQr/sBo+s10R0+/sXoxzKG8QzScLxn4fZIHv8p9GAmR7ngQ5Ee3FkGbWA8F9Scm6 sEkaB8Zpc595F5nLW1Me50YmFkXGU8wS95yZizYKmK3n4eirDppbfHFOS78MRkUbz1+3 uHms9fx0fYZEDMgcVxguFs3R2SIgW8ROLS0bDi5oa3LhHNZT8CUc0LzHJnAP5wYiupgz holA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=+7ww4nMe/nR0KgmrIwE3A+VEVsFzprY0gsLNuLUbtFM=; b=fCnhGuFBeJaxABE/LV679mLsduqIFM6iROdy0bllHwmItLGyktxmAt51NsqFJb8sAi lBfQAfjVXU32sHGcXoPHPQVw9rviqiFD2IpuOFt7A8YDl5QOI9fPfiGuEE04dq6uLHlE yFtDIPnn4uW9qLZ5XL+S+vr6OPHsXiG9SawQYg2KU4w95fHhG6/wtRda8i2oBgPrmgyT ZmLkp2E8d3HAMNm41hhAEJvvXdQMDNDljDis9pu76wdtjsm3haQyA4TziS6CmOo915od dkUV/ONKGrdjEe7gLx9EX+CGnjLqUJjrqrpKhfFCvnIMhNPIuiylbmnT6WSHzfoAdkZe Nr2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=O5qlkCRJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 124si5095625pgb.11.2019.07.15.10.57.39; Mon, 15 Jul 2019 10:57:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=O5qlkCRJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732004AbfGOR5G (ORCPT + 99 others); Mon, 15 Jul 2019 13:57:06 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:35834 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731078AbfGOR5G (ORCPT ); Mon, 15 Jul 2019 13:57:06 -0400 Received: by mail-io1-f68.google.com with SMTP id m24so35579225ioo.2; Mon, 15 Jul 2019 10:57:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+7ww4nMe/nR0KgmrIwE3A+VEVsFzprY0gsLNuLUbtFM=; b=O5qlkCRJ75FROVNu3ynQcg4VDkNxeJYe4oV+ylciJbdlnDecCDsfF8OrP/ZJNP6pK6 kEMvlZuC9C2owMdj4NQ0yGxtqqr5UOPGUsrZpSqN18m/KaBEtaXMKOvgtkW2Opl3sSIQ yGYwAPKGVGcUZxmY5fsPbW21ndnXA8qJpHy/VFJ8mWrA5YJH6xj8H0TPmwiRO3rDgXpn K1eDWEz5lhB8jqQMK/NpQGaCulP0boNs91zJOUBUMmjfWXpVJS4H7/dF6N5JFYZz9hVj 6/3gV/SksIp+ufE9MdBqJsPUdSX1/oGTWNhIkpHaUmKVG9Z0VRl/fuczo4p7gesZWvGp 9lxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+7ww4nMe/nR0KgmrIwE3A+VEVsFzprY0gsLNuLUbtFM=; b=slSKXGj1N4yRAbkTmI5t4kbT/m/+3uWhJIA0WuB66WR79nssdaNo3eESMO6BJqoeY/ x/hC5SReckkLNPvUqQ2gZoEy3DST4S4mMQwMbnBWCd1JQsp6jkwmIuGznZK4WpwzfqwZ MSmh8WsI4cLQxl9Z0XiIiLBIOzpuJkHaWB75CJPfEiX18BgHBgMWE7MhJ/LOooU6rCsw UkeZuWGOQ9+5im/yQfMFFB1paW+sl0T7TORQGx6UEFChV/auDX2AI3AK7ijc6Zebn9F8 Kzc5IFmJBiI7l+yhH58TAeG3wfM72+BvmyTFi9rucMBtFVJicFAIEoVCJ5IMbX/3WdFT LCUA== X-Gm-Message-State: APjAAAWPDduY7MCc3hEXAZriPgqfL3A00sqvoCFb5sqWIgwYXxQTo7fO lu36XbFnRkg330rq2IDJdPg= X-Received: by 2002:a5d:9643:: with SMTP id d3mr27278555ios.227.1563213425343; Mon, 15 Jul 2019 10:57:05 -0700 (PDT) Received: from localhost.localdomain (c-73-243-191-173.hsd1.co.comcast.net. [73.243.191.173]) by smtp.gmail.com with ESMTPSA id r7sm13808940ioa.71.2019.07.15.10.57.03 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 15 Jul 2019 10:57:04 -0700 (PDT) From: Kelsey To: bhelgaas@google.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Cc: skhan@linuxfoundation.org, linux-kernel-mentees@lists.linuxfoundation.org, skunberg.kelsey@gmail.com Subject: [PATCH] PCI: Remove functions not called in include/linux/pci.h Date: Mon, 15 Jul 2019 11:56:58 -0600 Message-Id: <20190715175658.29605-1-skunberg.kelsey@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove the following uncalled functions from include/linux/pci.h: pci_block_cfg_access() pci_block_cfg_access_in_atomic() pci_unblock_cfg_access() Functions were added in patch fb51ccbf217c "PCI: Rework config space blocking services", though no callers were added. Code continues to be unused and should be removed. Signed-off-by: Kelsey --- include/linux/pci.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/linux/pci.h b/include/linux/pci.h index cf380544c700..3c9ba6133bea 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -1656,11 +1656,6 @@ static inline void pci_release_regions(struct pci_dev *dev) { } static inline unsigned long pci_address_to_pio(phys_addr_t addr) { return -1; } -static inline void pci_block_cfg_access(struct pci_dev *dev) { } -static inline int pci_block_cfg_access_in_atomic(struct pci_dev *dev) -{ return 0; } -static inline void pci_unblock_cfg_access(struct pci_dev *dev) { } - static inline struct pci_bus *pci_find_next_bus(const struct pci_bus *from) { return NULL; } static inline struct pci_dev *pci_get_slot(struct pci_bus *bus, -- 2.20.1