Commit feba6c67 authored by Jakub Kicinski's avatar Jakub Kicinski

Merge branch 'genirq-msi-treewide-cleanup-of-pointless-linux-msi-h-includes'

Thomas Gleixner says:

====================
genirq/msi: Treewide cleanup of pointless linux/msi.h includes

While working on per device MSI domains I noticed that quite some files
include linux/msi.h just because.

The top level comment in the header file clearly says:

  Regular device drivers have no business with any of these functions....

and actually none of the drivers needs anything from msi.h.
====================

Link: https://lore.kernel.org/r/20221113201935.776707081@linutronix.deSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parents 76ad97e1 5fd66a0b
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#include <linux/etherdevice.h> #include <linux/etherdevice.h>
#include <linux/of_net.h> #include <linux/of_net.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/msi.h>
#include <linux/kthread.h> #include <linux/kthread.h>
#include <linux/iommu.h> #include <linux/iommu.h>
#include <linux/fsl/mc.h> #include <linux/fsl/mc.h>
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/of.h> #include <linux/of.h>
#include <linux/of_address.h> #include <linux/of_address.h>
#include <linux/msi.h>
#include <linux/fsl/mc.h> #include <linux/fsl/mc.h>
#include "dpaa2-ptp.h" #include "dpaa2-ptp.h"
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/msi.h>
#include <linux/kthread.h> #include <linux/kthread.h>
#include <linux/workqueue.h> #include <linux/workqueue.h>
#include <linux/iommu.h> #include <linux/iommu.h>
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
#include <linux/ethtool.h> #include <linux/ethtool.h>
#include <linux/list.h> #include <linux/list.h>
#include <linux/types.h> #include <linux/types.h>
#include <linux/msi.h>
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/workqueue.h> #include <linux/workqueue.h>
#include <net/devlink.h> #include <net/devlink.h>
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
#include <linux/page_ref.h> #include <linux/page_ref.h>
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/pci_regs.h> #include <linux/pci_regs.h>
#include <linux/msi.h>
#include <linux/ethtool.h> #include <linux/ethtool.h>
#include <linux/log2.h> #include <linux/log2.h>
#include <linux/if_vlan.h> #include <linux/if_vlan.h>
......
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
#include <linux/lockdep.h> #include <linux/lockdep.h>
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/pci_regs.h> #include <linux/pci_regs.h>
#include <linux/msi.h>
#include <linux/random.h> #include <linux/random.h>
#include <linux/rtnetlink.h> #include <linux/rtnetlink.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment