Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4584541ybi; Mon, 15 Jul 2019 11:14:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqwbY25ksjIdEAUeFTk5Tt/QOh/YHsXm039Y3fR6Wa2SYlxBL9vMmfDa2ThPYbP4r2dkUklK X-Received: by 2002:a17:90a:bb8a:: with SMTP id v10mr31207110pjr.78.1563214497675; Mon, 15 Jul 2019 11:14:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563214497; cv=none; d=google.com; s=arc-20160816; b=IJcNBCESS7XJRS/09m8Eip4K/0JTJmXe/QRZjHfmO2eiwObjibyoVLaFnQkFgl9Ch6 sBU58k0zscOkaWLzkGYTzLdEYkBqxD1SNtqRK/Jo5MB1nxZqwesD5xjJ2G7TarNv9/1s N8I8RtbStLfsO+q+nbXBhJS29qLOvAOIApiI2KqOubwHAft/1fAp9/23C0IEDfWMUmOP 6qbC872xqrkXCjkWK7BGjklOn9QS59pVsByxzXzT5RtKBxln1Oidxva7duren0XL8ILo E/gMxNAusuHCI/ObcLo1tIw22q8o1muOZD+oI/N8ydgOTrjHMrFW4kGlF64d9akTgLVE /M7g== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+CgFpi/G6FRfEhg2ENE40pkx1SrTXZfEq01yGYbU6XA=; b=oy0CLdbFPUruXtQnnG9vFlhn+T844AOwdPGlqEaVEGna00ReQZOPUIfcpSBSulxl0y 8PMzkmhu8+v3fAHXAFVh3s+krJHySZSTvz75d60cNXlTNd22MAbGNosLmFEKFFFljy2E gHyWgE6puIggn5hLugddE39g4YFuKOf9qhK++hCl4Gektx2pVzQxg4hFwXI2Z/60GE6R ilm3g0ZzNUm/M7rLIjtgnY5x4ip52pf+uzJtsav+fkWscySDnz0GKIiay7FO4a959dZq uFrwYqJjgm19UhoZ1kSwqnxxdSshos6Fal2u4zmG95gK+oq0keS4r4soRSxk4EVlySTo oDQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Heged3cr; 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 j190si9391293pge.92.2019.07.15.11.14.41; Mon, 15 Jul 2019 11:14:57 -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=Heged3cr; 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 S1729531AbfGOSOX (ORCPT + 99 others); Mon, 15 Jul 2019 14:14:23 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:34387 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729277AbfGOSOX (ORCPT ); Mon, 15 Jul 2019 14:14:23 -0400 Received: by mail-io1-f68.google.com with SMTP id k8so35701114iot.1; Mon, 15 Jul 2019 11:14:22 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=+CgFpi/G6FRfEhg2ENE40pkx1SrTXZfEq01yGYbU6XA=; b=Heged3crnrk04O0adpX6AEYcXlV2LPpm0oztxz5/RU1+M0u6cUp0AkRUtROlNXss1R FL074FdhRA/FTqiFvbT7WQf+zEd5KGornhzMhvri7+MUvXk5F6SBUS2x74A2xzpFp/W4 y/wtmmzpNbFi1yBSiM6+hYAu+d0z9hC2rXJkORpEa22J0SnVmiEN9M1kvemWEwwYvuE9 J8Rg+wjoVCOzN40XNXiDJXLCLOuKBLD3EpETDJccXmiVbKAyq7YvP/XOg+6WenPya+tu tvooCtN+fJiNVwv6RKqu4Yp514WNiX0JI/eWSa2T82n5SsbpR6c5/3QdE8EQYXic4Q1g NWxw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=+CgFpi/G6FRfEhg2ENE40pkx1SrTXZfEq01yGYbU6XA=; b=sa8/Duakfih33eYJxdMF7xp/aAwgmi/2JhUSa6knJiYSSV1SstMdLTSqRDqYuMsqfY kQo/LxjJJpYq8kdhXhgcqYb7oedI5BWJUNrZ59R0ZU2qdv+vtUvz/YbLUAD5zssJxO9k n4o/692SrQkSS/yvPAFLYqGpRjivCF4Up4xbbtbtr+1F+yckEmIKAn+y3rP8kMF9PeTU usuXUpFdT+C3Uai2Y5NrOowr+TmyBPf91uGB64VJdmOqgGPyYBs2uMZRT82UV6kfMHpD uKoh3zr7fuKgpmguTIpaOUpslM+o26dZZLg7E15qd5R46qqCha65rCeu4GttG2XO/TP5 5Ptw== X-Gm-Message-State: APjAAAXnHNAdRpcmUiBz97O4R6j02TWPrCovRJZVIfrs1kTbEi6PDUcB 2JrB4ZXDHi7b2TiDBrFOfdE= X-Received: by 2002:a5e:9304:: with SMTP id k4mr26971156iom.206.1563214462397; Mon, 15 Jul 2019 11:14:22 -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 i4sm26766336iog.31.2019.07.15.11.14.20 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 15 Jul 2019 11:14:21 -0700 (PDT) From: Kelsey Skunberg 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 v2] PCI: Remove functions not called in include/linux/pci.h Date: Mon, 15 Jul 2019 12:13:13 -0600 Message-Id: <20190715181312.31403-1-skunberg.kelsey@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190715175658.29605-1-skunberg.kelsey@gmail.com> References: <20190715175658.29605-1-skunberg.kelsey@gmail.com> 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 Skunberg --- Changes since v1: - Fixed Signed-off-by line to show full name 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