From patchwork Fri Aug 17 23:37:07 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 1340231 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 7AA3E3FC81 for ; Fri, 17 Aug 2012 23:37:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758070Ab2HQXhJ (ORCPT ); Fri, 17 Aug 2012 19:37:09 -0400 Received: from mail-ob0-f202.google.com ([209.85.214.202]:34062 "EHLO mail-ob0-f202.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755211Ab2HQXhI (ORCPT ); Fri, 17 Aug 2012 19:37:08 -0400 Received: by mail-ob0-f202.google.com with SMTP id wc20so3010724obb.1 for ; Fri, 17 Aug 2012 16:37:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:to:from:cc:date:message-id:in-reply-to:references :user-agent:mime-version:content-type:content-transfer-encoding; bh=hO0yiipet331IA7FY0SwgbiYhhL6XDdpp0kMRiCWP0A=; b=oIQ3DOV/azv5LrCthWOtpy1Sx2E+tmmRRztzHGk+oPVZh/G3/5Wu8BpUqRzKINKzfS DIB02TPCLbdx7TlA235xyuoDL1lhCU0g4NsVP9w+0WaEek4lWOaWA1hhfp+ZOqiGRIH7 VQaS8FZOmTpkmwzXTnC9hPDESYsVAO/sisQ/HUM648qDtdxpgLFMIU7yl2y3XkrzUq10 ViajC46LWM4FPq20Fvi89BHTF0beJVOELojSYccHATKxGicP/P/Tlv3gsPdBVHUcpYG/ We2M+vlLBNnF3Wsi9WLygqwsjpdVsWmeBcH5FQMKCzPBIEALERYH/+UFpwHBa/CPVf4n Xq5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:to:from:cc:date:message-id:in-reply-to:references :user-agent:mime-version:content-type:content-transfer-encoding :x-gm-message-state; bh=hO0yiipet331IA7FY0SwgbiYhhL6XDdpp0kMRiCWP0A=; b=GAG8dyTrcyl5mf9bEOs/QYdlNYZrT300GSeX/VGJxRYz4ndJbyC3U4xjpiu7C/rf/N i1yEJb8XGxjJ5mbDFlqVE1QNWjd3TVf/Iatwo0kIykvryZRGjM0uKXuvodalHDrENMtL 8+cYvUvFDpGLoZ31WKsHXQhIslRzGP5MLAx46bSYqui/1867YtMphbJVAXgrJmfutm9K mFV0E7dlMIDjMn9cgpVwoqILZP9X1H04LJs5opgnu21d8QWenffjX3NqB2JHAUTxBZgs A8tBv3TFZtWON6NKFny7VhFMLHyhBjivTtqgz/munjNPCYToSJGWq1oYtkdlqCWl0V1c l5TA== Received: by 10.43.114.9 with SMTP id ey9mr2488326icc.31.1345246628154; Fri, 17 Aug 2012 16:37:08 -0700 (PDT) Received: by 10.43.114.9 with SMTP id ey9mr2488321icc.31.1345246628113; Fri, 17 Aug 2012 16:37:08 -0700 (PDT) Received: from wpzn4.hot.corp.google.com (216-239-44-65.google.com [216.239.44.65]) by gmr-mx.google.com with ESMTPS id ad4si1824222igc.1.2012.08.17.16.37.08 (version=TLSv1/SSLv3 cipher=AES128-SHA); Fri, 17 Aug 2012 16:37:08 -0700 (PDT) Received: from bhelgaas.mtv.corp.google.com (bhelgaas.mtv.corp.google.com [172.18.96.155]) by wpzn4.hot.corp.google.com (Postfix) with ESMTP id B431F1E0043; Fri, 17 Aug 2012 16:37:07 -0700 (PDT) Received: from bhelgaas.mtv.corp.google.com (unknown [IPv6:::1]) by bhelgaas.mtv.corp.google.com (Postfix) with ESMTP id 5817B1801BB; Fri, 17 Aug 2012 16:37:07 -0700 (PDT) Subject: [PATCH v2 16/16] PCI: Remove unused pci_dev_b() To: linux-pci@vger.kernel.org From: Bjorn Helgaas Cc: linux-pcmcia@lists.infradead.org, Yinghai Lu , Kenji Kaneshige Date: Fri, 17 Aug 2012 17:37:07 -0600 Message-ID: <20120817233707.10973.16684.stgit@bhelgaas.mtv.corp.google.com> In-Reply-To: <20120817233100.10973.59521.stgit@bhelgaas.mtv.corp.google.com> References: <20120817233100.10973.59521.stgit@bhelgaas.mtv.corp.google.com> User-Agent: StGit/0.15 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQm9XX6t2LNtgZ811qA3Z5/aPotcWf1LUkSnvtYFq0z+EZaudx00+Khe0C4zqf/IIhMR8VYN9Mj6wwEH6kx/QGTwdiT1ezz8SzS21UqYE5VKYxu2EJ9l9Dd7WZp0nNsdFkjqxRRKFxq/cyyjJaAY28Lx+rtcrxFMeOSGJka72fs6pQ7iRfEKX1Y4fAwe1mQS8W9mxK9DK+E34mAvEhGTTSdAQ7y+pw== 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 1dce47c..ed47147 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)