From patchwork Thu Aug 16 23:26:46 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 1335431 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 19890DFB34 for ; Thu, 16 Aug 2012 23:26:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932545Ab2HPX0t (ORCPT ); Thu, 16 Aug 2012 19:26:49 -0400 Received: from mail-bk0-f74.google.com ([209.85.214.74]:48292 "EHLO mail-bk0-f74.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932527Ab2HPX0s (ORCPT ); Thu, 16 Aug 2012 19:26:48 -0400 Received: by bkcjc3 with SMTP id jc3so154819bkc.1 for ; Thu, 16 Aug 2012 16:26:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:to:from:date:message-id:in-reply-to:references:user-agent :mime-version:content-type:content-transfer-encoding; bh=dp0qk28PrFQhVN0DCmrkmVkFIdxTRdiqTiO6MLc7SHI=; b=X9XzxuWyvdRfc98bsTJx1JLDzEvu0UHoBJMSmlWSAnuKpix7XMh4sDEy2d0z68Bhye oO3oc15l5mz+k9jOPmqcDbm7uNz47i2h0g0j57OSY/iwz2/ZC2PBqJtcE84IB3+SP9KC B5E9vxeEFeZnu4Ej1ZipMGHOyv+kGKenqGUou1jMNg0IcdJOdvX3P+E7kMW/Ucx0AYoE WeSlJ2fPUmXMI60O2ZVjL/8BI2iKTHx1y1DbNwdwOUk3TCQI3Vl+/OjM4vRviLCPlY7k yYsbjmYlNOvqoANNAkW7YfSV/7023sdYODmPS4ItY1OibDJv9mOomlO1PYbJZpWtSlX7 YimQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:to:from:date:message-id:in-reply-to:references:user-agent :mime-version:content-type:content-transfer-encoding :x-gm-message-state; bh=dp0qk28PrFQhVN0DCmrkmVkFIdxTRdiqTiO6MLc7SHI=; b=OQamuNDmN6isXRJFsMEiMy7lyZrRV1+vckXuRvpvEamfsnXxeg8D96yPWM6OR1cD41 VgpQFQXlZfySqMJvXW0f3jPaT4zQvqQ1HO8hYWDTqOtgKxCDN0LtvyFeY47ujmEjhVp3 ReqPA91fhA2GSMPhq3Rz19mG3nJqmAONOXatJeyjF4BY5bc2AZLaygRHtA17HF+Q3gE3 zpECScHWOqjrueO9crLwXYLAe7uJnnYOTxl0xqaVqOqWILVQlNgUgGnUP2z/zxkbfbwp f8QcT0vPjnsZSr4Kf/mOEhDFPYP6doj97+yxADH72OJ/UPhysRjrt3Jzy3l9dF9agoA6 HLrA== Received: by 10.14.193.195 with SMTP id k43mr2537547een.7.1345159607096; Thu, 16 Aug 2012 16:26:47 -0700 (PDT) Received: by 10.14.193.195 with SMTP id k43mr2537544een.7.1345159607033; Thu, 16 Aug 2012 16:26:47 -0700 (PDT) Received: from hpza10.eem.corp.google.com ([74.125.121.33]) by gmr-mx.google.com with ESMTPS id 46si7709751eed.1.2012.08.16.16.26.47 (version=TLSv1/SSLv3 cipher=AES128-SHA); Thu, 16 Aug 2012 16:26:47 -0700 (PDT) Received: from bhelgaas.mtv.corp.google.com (bhelgaas.mtv.corp.google.com [172.18.96.155]) by hpza10.eem.corp.google.com (Postfix) with ESMTP id D3404200057 for ; Thu, 16 Aug 2012 16:26:46 -0700 (PDT) Received: from bhelgaas.mtv.corp.google.com (unknown [IPv6:::1]) by bhelgaas.mtv.corp.google.com (Postfix) with ESMTP id 3CA84180640 for ; Thu, 16 Aug 2012 16:26:46 -0700 (PDT) Subject: [PATCH 6/6] PCI: Remove unused pci_dev_b() To: linux-pci@vger.kernel.org From: Bjorn Helgaas Date: Thu, 16 Aug 2012 17:26:46 -0600 Message-ID: <20120816232646.3662.46203.stgit@bhelgaas.mtv.corp.google.com> In-Reply-To: <20120816232620.3662.90438.stgit@bhelgaas.mtv.corp.google.com> References: <20120816232620.3662.90438.stgit@bhelgaas.mtv.corp.google.com> User-Agent: StGit/0.15 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQkR8snk08YvUez7NpEQROmqlWh3ShmcrIeqbN0gO/jVSHJtMlL2gzoo3GmOCkGFbRxcxJzZtEk6YRFkv7Q+IQOaAuFl64v7Ntnymu+ADM4UBrOLFC9X+VC7MTw4vVsXN2KOumg45xKgCPyaNk7MTQiENoptPvYFUQz+5a2IKzE4idDP0WepdsBGNH1K9UeKHQE8trOFd33KJeJ2I0OkKAVkuEm0tnCgfVQK9AwqBUKPL+6ZQgw= Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org All uses of pci_dev_b() have been replaced by list_for_each_entry(), so remove it. Signed-off-by: Bjorn Helgaas --- include/linux/pci.h | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/include/linux/pci.h b/include/linux/pci.h index 5faa831..12053de 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -369,7 +369,6 @@ static inline struct pci_dev *pci_physfn(struct pci_dev *dev) extern struct pci_dev *alloc_pci_dev(void); -#define pci_dev_b(n) list_entry(n, struct pci_dev, bus_list) #define to_pci_dev(n) container_of(n, struct pci_dev, dev) #define for_each_pci_dev(d) while ((d = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, d)) != NULL)