Thread (3 messages) 3 messages, 3 authors, 1d ago
WARM1d

[PATCH net-next] net: phy: drop duplicated header include in mdio-device

From: Maxime Chevallier <maxime.chevallier@bootlin.com>
Date: 2026-07-15 20:12:40
Also in: lkml
Subsystem: ethernet phy library, networking drivers, the rest · Maintainers: Andrew Lunn, Heiner Kallweit, "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Linus Torvalds

During a tree-wide gpio include cleanup, the linux/gpio.h include was
replaced with linux/gpio/consumer.h.

mdio-device.c was already including that header, resulting in a
duplicated inclusion. Let's drop it.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
---
Yet another small cleanup while looking at bus-scan improvements. If I
find more I'll group them in a dedicated cleanup series, but I'll likely
not look at this stuff in the coming days so I might as well send this
one now, sorry for the low-value churn...

 drivers/net/phy/mdio_device.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/net/phy/mdio_device.c b/drivers/net/phy/mdio_device.c
index a18263d5bb02..06151f207134 100644
--- a/drivers/net/phy/mdio_device.c
+++ b/drivers/net/phy/mdio_device.c
@@ -9,7 +9,6 @@
 #include <linux/delay.h>
 #include <linux/errno.h>
 #include <linux/gpio/consumer.h>
-#include <linux/gpio/consumer.h>
 #include <linux/init.h>
 #include <linux/interrupt.h>
 #include <linux/kernel.h>
-- 
2.55.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help