projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9123e3a
)
PCI: Remove unnecessary header includes
author
Gustavo Pimentel
<Gustavo.Pimentel@synopsys.com>
Thu, 13 Aug 2020 13:51:51 +0000
(15:51 +0200)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Tue, 1 Sep 2020 15:59:13 +0000
(10:59 -0500)
Remove unnecessary includes of:
linux/of_pci.h
linux/pci-ats.h
asm/setup.h
CoverityScan CID 16442, 16443, 16444 ("Unnecessary header file (HFA)")
Link:
https://lore.kernel.org/r/eba4c0f2b35b1442773a722f1cf73f7240f818e3.1597325845.git.gustavo.pimentel@synopsys.com
Link:
https://lore.kernel.org/r/72ade1f5af35b994a7a8216ea5dc32c27cf134cd.1597325845.git.gustavo.pimentel@synopsys.com
Link:
https://lore.kernel.org/r/715821dc855add2565505ff8dcb9970e87996c5c.1597325845.git.gustavo.pimentel@synopsys.com
[bhelgaas: squash]
Signed-off-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Joao Pinto <jpinto@synopsys.com>
drivers/pci/pci.c
patch
|
blob
|
history
diff --git
a/drivers/pci/pci.c
b/drivers/pci/pci.c
index a458c46d7e39d13c722d733cebc1c80d7f4b3ae1..0045907cf60040ff7cb69fdf8b4ee270c8db0f08 100644
(file)
--- a/
drivers/pci/pci.c
+++ b/
drivers/pci/pci.c
@@
-15,7
+15,6
@@
#include <linux/init.h>
#include <linux/msi.h>
#include <linux/of.h>
-#include <linux/of_pci.h>
#include <linux/pci.h>
#include <linux/pm.h>
#include <linux/slab.h>
@@
-30,8
+29,6
@@
#include <linux/pm_runtime.h>
#include <linux/pci_hotplug.h>
#include <linux/vmalloc.h>
-#include <linux/pci-ats.h>
-#include <asm/setup.h>
#include <asm/dma.h>
#include <linux/aer.h>
#include "pci.h"