Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1219527ybi; Wed, 17 Jul 2019 11:25:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqwx6dF05yp1mmKvxZ7PU6dOJzVdFHDrv9Ha18KAKGZDl7hTlTnPwBDMJBg/7TA+orc+UY1R X-Received: by 2002:a17:902:16f:: with SMTP id 102mr43321367plb.94.1563387938539; Wed, 17 Jul 2019 11:25:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563387938; cv=none; d=google.com; s=arc-20160816; b=OOv4U2y+mCiRAc2aREkAj6InvH68Ebxaaqau4WJ7F9p+C9sQmjpE/6K66zE2cTsc4W OuGsESF8ed8VEhxbfrgvCsrPHVUqn2Xoh6FTlDJsTsgoaFYwatNm041/oaEmChvoTXVm Bnd1nnL8oqZzCIbcYH4Ws7zYRqc9VyDEBtmBwyW5L3hOpLeJT/dLRpgLWPBsfZddsMhE h/NwsIaPJzdEtVBOWRLoXqRR810SOgq3SSwKjFloMw061T2ZvPCMUn183bPRRwqV74v5 nS8OLWKrnKI0XCmh7wKlLbbkfYgmg3lMDT/Jav5h0p2D4xHYQstc+1CIAF/Zh8WP9rZQ hF/A== 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=uf/4ZxPFIqOD9RapY4uAy1qNJPgc//Sy2DxkMi0wzxE=; b=OglIpkTviVLu2yBHz79BN2+ype8HCjcH5asoZClnXBfxGY8EIJQFHiOioHXbvQRq5X wtNs02FOqlFIpyznhkCcLZmvhnQx0/3LDS36mlI3xO/sHg94g1wrXV1uzS14bUs6HMxP ANGR4tc5skmSeU2Le7GoPjGRxvvvTxzQyRb4/QtH8divApuXpEXm4zFY1L2Z8AFmysh7 g6J/eKZeheC7SCCP8STdKSVYVGNKRDEGqOqtdXWAdRwlQH81Q9H2cXjWUbgvjWOD5Epc NYFLDlVTDIlXpalNW5FxW+gumwS08ukrVVy1CcgrWNzB9GnDVV5PMzbG3lTCoTOop5L5 k54Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=krxIjMge; 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 o9si26158966pfp.158.2019.07.17.11.25.21; Wed, 17 Jul 2019 11:25:38 -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=krxIjMge; 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 S2389021AbfGQSYK (ORCPT + 99 others); Wed, 17 Jul 2019 14:24:10 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:46299 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727428AbfGQSYJ (ORCPT ); Wed, 17 Jul 2019 14:24:09 -0400 Received: by mail-io1-f65.google.com with SMTP id i10so47213949iol.13; Wed, 17 Jul 2019 11:24:09 -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=uf/4ZxPFIqOD9RapY4uAy1qNJPgc//Sy2DxkMi0wzxE=; b=krxIjMge1Y/jwdgZJHPkKyCSOJdzOmEuGKBdQQQYSbNN8g639+uD17I60myNgM1NkW uNRY8Fi3Z5Qm8QM6XSj8EVum+XYgVEQOU9fETb7V785PjvfjkkZrbvQsSxXnsH7Djjws zXa++cJNY6JAPFMPvNn0irdUscSgPInop2C48o+NJh6+Wr24Nd1xGVxhxUjNqbXJNYuo xovtXmnd+dgXPCFK4Pk9AK47Y6oDsOXeWph2KqSqsvs+SNBv2KD+pIJbMBUuKgRGlBlO tEUujRP120KzOKDdXf5I6MvcvTgfXxToWlr+RKxNNCBOjzEy0ekyQ6XRtshw/ffORFYV cJbQ== 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=uf/4ZxPFIqOD9RapY4uAy1qNJPgc//Sy2DxkMi0wzxE=; b=s67WJiy19AQyn0DgDyAtqw2B3xVBwRCgtbGQEfp3ocJhUlihNjUSqtLM6EOOawpSrj teEg5gNfBZfqnq8wU8Lcfde9RtNNSTUCdenIfJ/D9m5FsRCBfMSfTiarpDNAGBqNAuXq cQhBRD+iosCUT4b/tE0KeUPXQh5Dy1vPx3tCCuYgeEYCNz6adjEHu04vO8EEZ7WgPGjA t8D4Hfnti0j+RFhPLrbqCl22PcXoXaL6Z8gfNTFQSSOBz/VJz9hK5ksOfqqk4MtON+eo Vu+9IWcjcXl/SISSFFx0aeWwmIbNh3jpaoTAyb5KeqaptqMIQ8yIBCFC58NIPb3B+LEk sVjg== X-Gm-Message-State: APjAAAW8fbYFUf/EAybni+hX+2/qcfcLbxn3fBd/O1uSm3kii83ENSww z1Z6D/GwRcGuJLgv1kVlYwCoatgCgCBKnQ== X-Received: by 2002:a02:2245:: with SMTP id o66mr12383247jao.53.1563387848779; Wed, 17 Jul 2019 11:24:08 -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 p10sm41190115iob.54.2019.07.17.11.24.07 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 17 Jul 2019 11:24:07 -0700 (PDT) From: Kelsey Skunberg To: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, bhelgaas@google.com Cc: skhan@linuxfoundation.org, linux-kernel-mentees@lists.linuxfoundation.org, skunberg.kelsey@gmail.com Subject: [PATCH] PCI: Remove unused EXPORT_SYMBOL()s from drivers/pci/bus.c Date: Wed, 17 Jul 2019 12:23:53 -0600 Message-Id: <20190717182353.45557-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 pci_bus_get() and pci_bus_put() are not used by a loadable kernel module and do not need to be exported. Remove lines exporting pci_bus_get() and pci_bus_put(). Functions were exported in commit fe830ef62ac6 ("PCI: Introduce pci_bus_{get|put}() to manage PCI bus reference count"). No found history of functions being used by a loadable kernel module. Signed-off-by: Kelsey Skunberg --- drivers/pci/bus.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/pci/bus.c b/drivers/pci/bus.c index 495059d923f7..8e40b3e6da77 100644 --- a/drivers/pci/bus.c +++ b/drivers/pci/bus.c @@ -417,11 +417,9 @@ struct pci_bus *pci_bus_get(struct pci_bus *bus) get_device(&bus->dev); return bus; } -EXPORT_SYMBOL(pci_bus_get); void pci_bus_put(struct pci_bus *bus) { if (bus) put_device(&bus->dev); } -EXPORT_SYMBOL(pci_bus_put); -- 2.20.1