From: Markus Koch Date: Sun, 2 Jan 2022 16:54:08 +0000 (+0100) Subject: net/fsl: Remove leftover definition in xgmac_mdio X-Git-Tag: v6.6.17~8542^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1ef5e1d0dca5b4ffd49d7dec4a83660882f1fda4;p=platform%2Fkernel%2Flinux-rpi.git 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. Signed-off-by: Markus Koch Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/freescale/xgmac_mdio.c b/drivers/net/ethernet/freescale/xgmac_mdio.c index 0b68852..5b8b9bc 100644 --- a/drivers/net/ethernet/freescale/xgmac_mdio.c +++ b/drivers/net/ethernet/freescale/xgmac_mdio.c @@ -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;