Skip to content

Commit

Permalink
net/fsl: Remove leftover definition in xgmac_mdio
Browse files Browse the repository at this point in the history
commit 26eee02 ("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>
  • Loading branch information
Markus Koch authored and David S. Miller committed Jan 2, 2022
1 parent 29262e1 commit 1ef5e1d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/ethernet/freescale/xgmac_mdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1ef5e1d

Please sign in to comment.