Skip to contentSkip to conversation

i2c: aspeed: Remove unused includes

PATCH New Thierry Reding 3 participants 3 messages Dec 7, 2021 – Dec 16, 2021

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

PATCH 1/1 i2c: aspeed: Remove unused includes

From: Thierry Reding <[email protected]>

No symbols from the linux/irqchip/chained_irq.h and linux/irqdomain.h headers are used in the driver, so they can be removed.

---
 drivers/i2c/busses/i2c-aspeed.c | 2 --
 1 file changed, 2 deletions(-)
drivers/i2c/busses/i2c-aspeed.c +0 -2
index 67e8b97c0c95..771e53d3d197 100644
@@ -16,8 +16,6 @@
 #include <linux/interrupt.h>
 #include <linux/io.h>
 #include <linux/irq.h>
-#include <linux/irqchip/chained_irq.h>
-#include <linux/irqdomain.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/of_address.h>
Signature · 1 line
2.33.1
maintainer
#1 lore raw

PATCH 1/1 i2c: aspeed: Remove unused includes

Quoted 7 lines · Thierry Reding

From: Thierry Reding <[email protected]>

No symbols from the linux/irqchip/chained_irq.h and linux/irqdomain.h headers are used in the driver, so they can be removed.

Agreed, it looks like these were added in the initial commit and never used.

Quoted 20 lines
---
 drivers/i2c/busses/i2c-aspeed.c | 2 --
 1 file changed, 2 deletions(-)
drivers/i2c/busses/i2c-aspeed.c +0 -3
index 67e8b97c0c95..771e53d3d197 100644
@@ -16,8 +16,6 @@
 #include <linux/interrupt.h>
 #include <linux/io.h>
 #include <linux/irq.h>
-#include <linux/irqchip/chained_irq.h>
-#include <linux/irqdomain.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/of_address.h>
--

2.33.1

Applied
#2 lore raw

PATCH 1/1 i2c: aspeed: Remove unused includes

In reply to Thierry Reding
Quoted 6 lines · Thierry Reding

From: Thierry Reding <[email protected]>

No symbols from the linux/irqchip/chained_irq.h and linux/irqdomain.h headers are used in the driver, so they can be removed.

Applied to for-next, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linux-aspeed/attachments/20211216/4c6576e0/attachment.sig>