]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net/fsl: Remove leftover definition in xgmac_mdio
authorMarkus Koch <markus@notsyncing.net>
Sun, 2 Jan 2022 16:54:08 +0000 (17:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 2 Jan 2022 18:43:42 +0000 (18:43 +0000)
commit c740435d4913 ("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.

Signed-off-by: Markus Koch <markus@notsyncing.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/xgmac_mdio.c

index 0b68852379da5296f739cfd67177c4bf9c979f87..5b8b9bcf41a25a0ff6344493172c0fdf002bf156 100644 (file)
@@ -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;