Message ID | 20220722154919.1826027-2-helgaas@kernel.org |
---|---|
State | New |
Headers | show |
Series | PCI: qcom: Minor cleanup | expand |
On Fri, Jul 22, 2022 at 10:49:18AM -0500, Bjorn Helgaas wrote: > From: Bjorn Helgaas <bhelgaas@google.com> > > pcie-qcom.c uses nothing from <linux/interrupt.h>, so remove the > unnecessary include of it. Appears to be unused since commit 7c5925afbc58 ("PCI: dwc: Move MSI IRQs allocation to IRQ domains hierarchical API") so there may be other driver that also no longer need it. > Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Johan Hovold <johan+linaro@kernel.org>
On Tue, Jul 26, 2022 at 02:21:14PM +0200, Johan Hovold wrote: > On Fri, Jul 22, 2022 at 10:49:18AM -0500, Bjorn Helgaas wrote: > > From: Bjorn Helgaas <bhelgaas@google.com> > > > > pcie-qcom.c uses nothing from <linux/interrupt.h>, so remove the > > unnecessary include of it. > > Appears to be unused since commit 7c5925afbc58 ("PCI: dwc: Move MSI IRQs > allocation to IRQ domains hierarchical API") so there may be other > driver that also no longer need it. Thanks for digging that out! You're right, there's a long list of drivers that include <linux/interrupt.h> but don't appear to need it. I'm going to drop this patch and try to do them all at once. > > Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> > > Reviewed-by: Johan Hovold <johan+linaro@kernel.org>
diff --git a/drivers/pci/controller/dwc/pcie-qcom.c b/drivers/pci/controller/dwc/pcie-qcom.c index 3a3e667c3408..c27e3494179f 100644 --- a/drivers/pci/controller/dwc/pcie-qcom.c +++ b/drivers/pci/controller/dwc/pcie-qcom.c @@ -12,7 +12,6 @@ #include <linux/crc8.h> #include <linux/delay.h> #include <linux/gpio/consumer.h> -#include <linux/interrupt.h> #include <linux/io.h> #include <linux/iopoll.h> #include <linux/kernel.h>