Message ID | 1407828373-24322-5-git-send-email-wangyijing@huawei.com |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDP3JFH37QKRBKX2U2PQKGQEJSCTAII@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f199.google.com (mail-yk0-f199.google.com [209.85.160.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 76B4D203C5 for <linaro@patches.linaro.org>; Tue, 12 Aug 2014 07:07:22 +0000 (UTC) Received: by mail-yk0-f199.google.com with SMTP id 79sf29478115ykr.6 for <linaro@patches.linaro.org>; Tue, 12 Aug 2014 00:07:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:mime-version:cc:subject:precedence:list-id :list-unsubscribe:list-post:list-help:list-subscribe:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:list-archive:content-type:content-transfer-encoding; bh=MoEmkWYtzNUmYjsNdDH5w5UL/nSxU+GqHE48rx6PZFQ=; b=FUUanRTruHjdCmg4dPkKiQQpowMRQdubi5UFVPmEpLl7QyedqF9YZ6EJGpBbApOouh dJdfVh/oK2hwLC+ZWKdCsShiA+ur6+Uy2Pzq/dLTaTpntsYGOcG8OWdZZAPx4E5l8YsW mMqr6QmymlvWU9Wf3uzVfuiedylcyIfPGEt5BiOVSO+976qX63nfHZ1b3AMw05tJmLvQ vbKO07QKHA4URQ+TUPn8k3A0u4cmhFgYHlWfmZBI29HD8ta3nEnn312wcuce52cjCyvC QQ751gtoFQH9JNMIz9jRTDkImz+7UBHmqkQdN87pKUszUbrtueU8q02HWbgr7R1M5x9+ bvYA== X-Gm-Message-State: ALoCoQkRryPrnOSEsaib/6hvWw6NjczYNUH9NObwuUAZs60L1juZeQStOHMhAjRmKRR34rTdH18S X-Received: by 10.236.216.67 with SMTP id f63mr10236706yhp.10.1407827242317; Tue, 12 Aug 2014 00:07:22 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.24.228 with SMTP id 91ls4607qgr.70.gmail; Tue, 12 Aug 2014 00:07:22 -0700 (PDT) X-Received: by 10.220.168.210 with SMTP id v18mr2190507vcy.3.1407827242200; Tue, 12 Aug 2014 00:07:22 -0700 (PDT) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by mx.google.com with ESMTPS id v3si7758670vdv.28.2014.08.12.00.07.22 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 12 Aug 2014 00:07:22 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.174 as permitted sender) client-ip=209.85.220.174; Received: by mail-vc0-f174.google.com with SMTP id la4so12811987vcb.19 for <patchwork-forward@linaro.org>; Tue, 12 Aug 2014 00:07:22 -0700 (PDT) X-Received: by 10.220.144.10 with SMTP id x10mr9806vcu.42.1407827242126; Tue, 12 Aug 2014 00:07:22 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp224727vcb; Tue, 12 Aug 2014 00:07:21 -0700 (PDT) X-Received: by 10.50.78.167 with SMTP id c7mr36477793igx.6.1407827241408; Tue, 12 Aug 2014 00:07:21 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id fn2si25631452icb.59.2014.08.12.00.07.20 for <multiple recipients> (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 12 Aug 2014 00:07:21 -0700 (PDT) Received-SPF: none (google.com: xen-devel-bounces@lists.xen.org does not designate permitted sender hosts) client-ip=50.57.142.19; Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from <xen-devel-bounces@lists.xen.org>) id 1XH69K-0002vg-L0; Tue, 12 Aug 2014 07:05:38 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from <wangyijing@huawei.com>) id 1XH69K-0002vV-4t for xen-devel@lists.xenproject.org; Tue, 12 Aug 2014 07:05:38 +0000 Received: from [85.158.139.211:54415] by server-5.bemta-5.messagelabs.com id FF/BA-11546-1CCB9E35; Tue, 12 Aug 2014 07:05:37 +0000 X-Env-Sender: wangyijing@huawei.com X-Msg-Ref: server-9.tower-206.messagelabs.com!1407827014!10779015!1 X-Originating-IP: [119.145.14.66] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogMTE5LjE0NS4xNC42NiA9PiA4NTI3\n X-StarScan-Received: X-StarScan-Version: 6.12.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 6927 invoked from network); 12 Aug 2014 07:05:36 -0000 Received: from szxga03-in.huawei.com (HELO szxga03-in.huawei.com) (119.145.14.66) by server-9.tower-206.messagelabs.com with SMTP; 12 Aug 2014 07:05:36 -0000 Received: from 172.24.2.119 (EHLO szxeml421-hub.china.huawei.com) ([172.24.2.119]) by szxrg03-dlp.huawei.com (MOS 4.4.3-GA FastPath queued) with ESMTP id ASY16050; Tue, 12 Aug 2014 15:02:39 +0800 (CST) Received: from localhost.localdomain (10.175.100.166) by szxeml421-hub.china.huawei.com (10.82.67.160) with Microsoft SMTP Server id 14.3.158.1; Tue, 12 Aug 2014 15:02:28 +0800 From: Yijing Wang <wangyijing@huawei.com> To: Bjorn Helgaas <bhelgaas@google.com> Date: Tue, 12 Aug 2014 15:25:57 +0800 Message-ID: <1407828373-24322-5-git-send-email-wangyijing@huawei.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1407828373-24322-1-git-send-email-wangyijing@huawei.com> References: <1407828373-24322-1-git-send-email-wangyijing@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.175.100.166] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020201.53E9BC13.0088,ss=1,re=0.000,fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2011-05-27 18:58:46 X-Mirapoint-Loop-Id: 05793fa1820072d5dea2158b15aef7e3 Cc: linux-mips@linux-mips.org, linux-ia64@vger.kernel.org, linux-pci@vger.kernel.org, Xinwei Hu <huxinwei@huawei.com>, Yijing Wang <wangyijing@huawei.com>, "H. Peter Anvin" <hpa@zytor.com>, sparclinux@vger.kernel.org, linux-s390@vger.kernel.org, Russell King <linux@arm.linux.org.uk>, Joerg Roedel <joro@8bytes.org>, x86@kernel.org, Sebastian Ott <sebott@linux.vnet.ibm.com>, Benjamin Herrenschmidt <benh@kernel.crashing.org>, xen-devel@lists.xenproject.org, arnab.basu@freescale.com, Arnd Bergmann <arnd@arndb.de>, Marc Zyngier <marc.zyngier@arm.com>, Chris Metcalf <cmetcalf@tilera.com>, Thomas Gleixner <tglx@linutronix.de>, linux-arm-kernel@lists.infradead.org, Tony Luck <tony.luck@intel.com>, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, Wuyun <wuyun.wu@huawei.com>, linuxppc-dev@lists.ozlabs.org, "David S. Miller" <davem@davemloft.net> Subject: [Xen-devel] [RFC PATCH 04/20] MSI: Remove the redundant irq_set_chip_data() X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <http://lists.xen.org/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=subscribe> Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: wangyijing@huawei.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.174 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c index 782b242..242d775 100644 --- a/drivers/pci/msi.c +++ b/drivers/pci/msi.c @@ -41,8 +41,6 @@ int __weak arch_setup_msi_irq(struct pci_dev *dev, struct msi_desc *desc) if (err < 0) return err; - irq_set_chip_data(desc->irq, chip); - return 0; }
Currently, pcie-designware, pcie-rcar, pci-tegra drivers use irq chip_data to the msi_chip pointer. They already call irq_set_chip_data() in their own MSI irq map functions. So irq_set_chip_data() in arch_setup_msi_irq() is useless. Signed-off-by: Yijing Wang <wangyijing@huawei.com> --- drivers/pci/msi.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)