Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753929AbaDCVzW (ORCPT ); Thu, 3 Apr 2014 17:55:22 -0400 Received: from mail-ig0-f179.google.com ([209.85.213.179]:37365 "EHLO mail-ig0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753904AbaDCVzQ (ORCPT ); Thu, 3 Apr 2014 17:55:16 -0400 Date: Thu, 3 Apr 2014 15:55:13 -0600 From: Bjorn Helgaas To: Paul Gortmaker Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-pci@vger.kernel.org Subject: Re: [PATCH 69/73] drivers/pci: delete non-required instances of Message-ID: <20140403215513.GB21931@google.com> References: <1390339396-3479-1-git-send-email-paul.gortmaker@windriver.com> <1390339396-3479-70-git-send-email-paul.gortmaker@windriver.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1390339396-3479-70-git-send-email-paul.gortmaker@windriver.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 21, 2014 at 04:23:12PM -0500, Paul Gortmaker wrote: > None of these files are actually using any __init type directives > and hence don't need to include . Most are just a > left over from __devinit and __cpuinit removal, or simply due to > code getting copied from one driver to the next. > > Cc: Bjorn Helgaas > Cc: linux-pci@vger.kernel.org > Signed-off-by: Paul Gortmaker I applied this to my "pci/pending" branch. After v3.15-rc1, I will sort this into something for inclusion in -next. Sorry for the delay; I don't remember why I didn't pick this up before. Bjorn > --- > drivers/pci/bus.c | 1 - > drivers/pci/host-bridge.c | 1 - > drivers/pci/hotplug/acpiphp_glue.c | 1 - > drivers/pci/hotplug/cpqphp_nvram.c | 1 - > drivers/pci/hotplug/s390_pci_hpc.c | 1 - > drivers/pci/msi.c | 1 - > drivers/pci/search.c | 1 - > drivers/pci/setup-irq.c | 1 - > drivers/pci/setup-res.c | 1 - > 9 files changed, 9 deletions(-) > > diff --git a/drivers/pci/bus.c b/drivers/pci/bus.c > index 00660cc..ad0f20a 100644 > --- a/drivers/pci/bus.c > +++ b/drivers/pci/bus.c > @@ -13,7 +13,6 @@ > #include > #include > #include > -#include > #include > > #include "pci.h" > diff --git a/drivers/pci/host-bridge.c b/drivers/pci/host-bridge.c > index 06ace62..389e3df 100644 > --- a/drivers/pci/host-bridge.c > +++ b/drivers/pci/host-bridge.c > @@ -3,7 +3,6 @@ > */ > > #include > -#include > #include > #include > > diff --git a/drivers/pci/hotplug/acpiphp_glue.c b/drivers/pci/hotplug/acpiphp_glue.c > index cd929ae..1629963 100644 > --- a/drivers/pci/hotplug/acpiphp_glue.c > +++ b/drivers/pci/hotplug/acpiphp_glue.c > @@ -41,7 +41,6 @@ > > #define pr_fmt(fmt) "acpiphp_glue: " fmt > > -#include > #include > > #include > diff --git a/drivers/pci/hotplug/cpqphp_nvram.c b/drivers/pci/hotplug/cpqphp_nvram.c > index 76ba8a1..9600a39 100644 > --- a/drivers/pci/hotplug/cpqphp_nvram.c > +++ b/drivers/pci/hotplug/cpqphp_nvram.c > @@ -34,7 +34,6 @@ > #include > #include > #include > -#include > #include > #include "cpqphp.h" > #include "cpqphp_nvram.h" > diff --git a/drivers/pci/hotplug/s390_pci_hpc.c b/drivers/pci/hotplug/s390_pci_hpc.c > index 8d2ce22..d1332d2 100644 > --- a/drivers/pci/hotplug/s390_pci_hpc.c > +++ b/drivers/pci/hotplug/s390_pci_hpc.c > @@ -15,7 +15,6 @@ > #include > #include > #include > -#include > #include > #include > > diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c > index 7a0fec6..18ca2497 100644 > --- a/drivers/pci/msi.c > +++ b/drivers/pci/msi.c > @@ -10,7 +10,6 @@ > #include > #include > #include > -#include > #include > #include > #include > diff --git a/drivers/pci/search.c b/drivers/pci/search.c > index 3ff2ac7..cc6db38 100644 > --- a/drivers/pci/search.c > +++ b/drivers/pci/search.c > @@ -7,7 +7,6 @@ > * Copyright (C) 2003 -- 2004 Greg Kroah-Hartman > */ > > -#include > #include > #include > #include > diff --git a/drivers/pci/setup-irq.c b/drivers/pci/setup-irq.c > index 9bd6864..dbc4ffc 100644 > --- a/drivers/pci/setup-irq.c > +++ b/drivers/pci/setup-irq.c > @@ -10,7 +10,6 @@ > */ > > > -#include > #include > #include > #include > diff --git a/drivers/pci/setup-res.c b/drivers/pci/setup-res.c > index 5c060b1..3e5682c 100644 > --- a/drivers/pci/setup-res.c > +++ b/drivers/pci/setup-res.c > @@ -16,7 +16,6 @@ > * Resource sorting > */ > > -#include > #include > #include > #include > -- > 1.8.4.1 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/