Skip to contentSkip to conversation

cxl/pci: Remove unnecessary aer.h include

PATCH In review Bjorn Helgaas 3 participants 3 messages Jul 10, 2023 – Jul 12, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cxl/pci: Remove unnecessary aer.h include

From: Bjorn Helgaas <[email protected]>

<linux/aer.h> is unused, so remove it.

Cc Alison Schofield <[email protected]>
Cc Vishal Verma <[email protected]>
Cc Ben Widawsky <[email protected]>
Cc Dan Williams <[email protected]>
---
 drivers/cxl/pci.c | 1 -
 1 file changed, 1 deletion(-)
drivers/cxl/pci.c +0 -1
index 1cb1494c28fe..8314cf2ac16a 100644
@@ -8,7 +8,6 @@
 #include <linux/mutex.h>
 #include <linux/list.h>
 #include <linux/pci.h>
-#include <linux/aer.h>
 #include <linux/io.h>
 #include "cxlmem.h"
 #include "cxlpci.h"
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · On Mon, 10 Jul 2023 18:14:16 -0500 Bjorn Helgaas <[email protected]> wrote:

From: Bjorn Helgaas <[email protected]>

<linux/aer.h> is unused, so remove it.

Cc Alison Schofield <[email protected]>
Cc Vishal Verma <[email protected]>
Cc Ben Widawsky <[email protected]>
Cc Dan Williams <[email protected]>

Was just working on splitting this file up as part of forward porting the switch-cci and noticed this as well!

Lot of churn in this file in the recent past and I'll make it worse, so good to keep on top of these includes.

Quoted 16 lines
---
 drivers/cxl/pci.c | 1 -
 1 file changed, 1 deletion(-)
drivers/cxl/pci.c +0 -1
index 1cb1494c28fe..8314cf2ac16a 100644
@@ -8,7 +8,6 @@
 #include <linux/mutex.h>
 #include <linux/list.h>
 #include <linux/pci.h>
-#include <linux/aer.h>
 #include <linux/io.h>
 #include "cxlmem.h"
 #include "cxlpci.h"
maintainer Reviewed-by on v1 1/1
#2 lore raw
In reply to Bjorn Helgaas
Quoted 10 lines · Bjorn Helgaas

From: Bjorn Helgaas <[email protected]>

<linux/aer.h> is unused, so remove it.

Cc Alison Schofield <[email protected]>
Cc Vishal Verma <[email protected]>
Cc Ben Widawsky <[email protected]>
Cc Dan Williams <[email protected]>
Quoted 16 lines
---
  drivers/cxl/pci.c | 1 -
  1 file changed, 1 deletion(-)
drivers/cxl/pci.c +0 -1
index 1cb1494c28fe..8314cf2ac16a 100644
@@ -8,7 +8,6 @@
  #include <linux/mutex.h>
  #include <linux/list.h>
  #include <linux/pci.h>
-#include <linux/aer.h>
  #include <linux/io.h>
  #include "cxlmem.h"
  #include "cxlpci.h"