Skip to contentSkip to conversation

net/fsl: Remove leftover definition in xgmac_mdio

PATCH Applied Markus Koch 2 participants 2 messages Jan 2, 2022 – Jan 3, 2022

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

PATCH 1/1 net/fsl: Remove leftover definition in xgmac_mdio

commit 26eee0210ad7 ("net/fsl: fix a bug in xgmac_mdio") fixed a bug in the QorIQ mdio driver but left the (now unused) incorrect bit definition for MDIO_DATA_BSY in the code. This commit removes it.

---
 drivers/net/ethernet/freescale/xgmac_mdio.c | 1 -
 1 file changed, 1 deletion(-)
drivers/net/ethernet/freescale/xgmac_mdio.c +0 -1
index 0b68852379da..5b8b9bcf41a2 100644
@@ -47,7 +47,6 @@ struct tgec_mdio_controller {
 #define MDIO_CTL_READ		BIT(15)
 
 #define MDIO_DATA(x)		(x & 0xffff)
-#define MDIO_DATA_BSY		BIT(31)
 
 struct mdio_fsl_priv {
 	struct	tgec_mdio_controller __iomem *mdio_base;
Signature · 1 line
2.34.1
#1 lore raw
This patch was applied to netdev/net.git (master) by David S. Miller <[email protected]>:

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <[email protected]>:

Quoted 8 lines · On Sun, 2 Jan 2022 17:54:08 +0100 you wrote:

commit 26eee0210ad7 ("net/fsl: fix a bug in xgmac_mdio") fixed a bug in the QorIQ mdio driver but left the (now unused) incorrect bit definition for MDIO_DATA_BSY in the code. This commit removes it.

---
 drivers/net/ethernet/freescale/xgmac_mdio.c | 1 -
 1 file changed, 1 deletion(-)

Here is the summary with links:
- net/fsl: Remove leftover definition in xgmac_mdio

    https://git.kernel.org/netdev/net/c/1ef5e1d0dca5

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html