From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752149AbdBIIyd (ORCPT ); Thu, 9 Feb 2017 03:54:33 -0500 Received: from foss.arm.com ([217.140.101.70]:37384 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751953AbdBIIxl (ORCPT ); Thu, 9 Feb 2017 03:53:41 -0500 Subject: Re: [PATCH 1/2] PCI/msi: remove unused function pci_msi_create_default_irq_domain To: Thomas Gleixner , Christoph Hellwig References: <20170203162705.5182-1-hch@lst.de> <20170203162705.5182-2-hch@lst.de> Cc: bhelgaas@google.com, linux-pci@vger.kernel.org, LKML From: Marc Zyngier Organization: ARM Ltd Message-ID: Date: Thu, 9 Feb 2017 08:53:14 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/02/17 13:43, Thomas Gleixner wrote: > On Fri, 3 Feb 2017, Christoph Hellwig wrote: > > No objections, but then we also can remove: > > struct irq_domain * __weak arch_get_pci_msi_domain(struct pci_dev *dev) > > as there are no arch specific implementations > > along with: > > static struct irq_domain *pci_msi_default_domain; > > because pci_msi_create_default_irq_domain() is the only place where the > default domain is ever set. Indeed. I'm all for dropping the "default" stuff, as it only gives people the idea that they can get away with it (most of the time, they cannot). Thanks, M. -- Jazz is not dead. It just smells funny...