diff options
author | Markus Koch <markus@notsyncing.net> | 2022-01-02 19:54:08 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-01-02 21:43:42 +0300 |
commit | 1ef5e1d0dca5b4ffd49d7dec4a83660882f1fda4 (patch) | |
tree | c57ab68c1e1000759b24634db5a6fb85bc3e361b /drivers/net/ethernet/freescale/xgmac_mdio.c | |
parent | 29262e1f773b4b6a43711120be564c57fca07cfb (diff) | |
download | linux-1ef5e1d0dca5b4ffd49d7dec4a83660882f1fda4.tar.xz |
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 <markus@notsyncing.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/xgmac_mdio.c')
-rw-r--r-- | drivers/net/ethernet/freescale/xgmac_mdio.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/xgmac_mdio.c b/drivers/net/ethernet/freescale/xgmac_mdio.c index 0b68852379da..5b8b9bcf41a2 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; |