Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8990855ybi; Tue, 23 Jul 2019 19:35:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqwvAvseG0PP4T7osOqGG73qpfW5oBQCzI8GEjtYus9oaZ1sH2342Lc5UBBLW5B8gbdIUZvH X-Received: by 2002:a17:902:9a07:: with SMTP id v7mr74101368plp.245.1563935744446; Tue, 23 Jul 2019 19:35:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563935744; cv=none; d=google.com; s=arc-20160816; b=FUX71t8TJy0j1MJ8PL4eQLlMYKR9WpuGm4yJt0Gv82uWnjfMyVL5v7oIP8aqC9r8VG gAd8f2ymVaX9vI3wLOi5tOj4qcxUhf3+JbS7KY4chsVX9hcLWSvvAfp7MUqsP9rRVFYY rPlkodXm21AAOuCXqEibCexJBfQLTlV321WFkk/3oh15rtRm7VMQ6T0AGkpsJDSjybrw +SHDIgnRBhsv4bG3y2sykrYxPEwF8Q5tWoAAB+LGhrEOcTxtVdZ/tMttW8+WJSsqn++d WuLLrcI3U1DuAja0qqcB8INVmr6uHEp7u9svAPubvt3NCq6oUS8SLJj+4TAxzE2yuVRw wJ0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=1XMZ47gly40V8+Ot63qqYG3VXgWzMNqdiosuL24G7+4=; b=jXs4GrFDE3Ot1tvL1VhUJx+hpg7Df7oGxjt2rki4Gm6E780+LvqFDBYgON2K+uveIB ZT7nF+9CFQHU4ZwVIVCRyYlRbmO+N4JJECGN6kEguQ/EpfnrOZvtAZcfpIc6Gjb/FesB yT64Iscdj2scqLRryKmhBUDdoqPSVZ5rGy/eJdxJOrv5stiaWu35ru7sEL7oCcGuIdha hTm6b1NtwYV29n2oR9lt4mTPKqfxyIUwDm6ErbMikgnD4VWN9djHFpCGfcZVlNs2CW4k kXtr1UfVj+r8vq6TV9aTxOvIXRrCylOkJRVi6iAO+J01rM1rITZt9DCHqIFhHGr+98jz E04A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=eUQEXCtV; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y192si13992589pfg.172.2019.07.23.19.35.30; Tue, 23 Jul 2019 19:35:44 -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=@kernel.org header.s=default header.b=eUQEXCtV; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726983AbfGWXe2 (ORCPT + 99 others); Tue, 23 Jul 2019 19:34:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:49750 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726888AbfGWXe2 (ORCPT ); Tue, 23 Jul 2019 19:34:28 -0400 Received: from localhost (unknown [69.71.4.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 10B6720840; Tue, 23 Jul 2019 23:34:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563924867; bh=6nro+HW40HHUSY8sV0sgwe6UpT0lTXr6jwd8m+kpwaw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eUQEXCtVBv4Jo9f8LpNglLj+NDQg/ivaxg20oPxdbsu79qLq/ecVEM0ibTT3wdLkf qUqWQ7LSnMyxebujwcEmdX/X0IvO1OLMq3KZEyt2G3vgej4kj1Cv+MwJwWA5v7rj8I GEGHrO2YLBTjsugKV8jBtMGdoGZn2Fzh4HpPS9Cw= Date: Tue, 23 Jul 2019 18:34:25 -0500 From: Bjorn Helgaas To: Kelsey Skunberg Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org Subject: Re: [Linux-kernel-mentees] [PATCH v3] PCI: Remove functions not called in include/linux/pci.h Message-ID: <20190723233424.GC47047@google.com> References: <20190715181312.31403-1-skunberg.kelsey@gmail.com> <20190715203416.37547-1-skunberg.kelsey@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190715203416.37547-1-skunberg.kelsey@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 15, 2019 at 02:34:16PM -0600, Kelsey Skunberg wrote: > 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 commit 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 Applied with Lukas' reviewed-by (thank you!) to pci/hide for v5.4, thanks! > --- > > Changes since v1: > - Fixed Signed-off-by line to show full name > > Changes since v2: > - Change commit message to reference prior commit properly with the > following format: > commit <12-character sha prefix> ("") > > 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 > > _______________________________________________ > Linux-kernel-mentees mailing list > Linux-kernel-mentees@lists.linuxfoundation.org > https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees