]> git.baikalelectronics.ru Git - kernel.git/commit
enetc: drop unneeded indirection
authorMichael Walle <michael@walle.cc>
Mon, 28 Dec 2020 13:00:31 +0000 (14:00 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jan 2021 23:19:19 +0000 (15:19 -0800)
commit2f7f14625b755132d1879dc176412a2ed5b6615a
tree055748e03c80de15ea4f4d004f93dee2f951c5ed
parent10728f9f3ba35006261c47bb2174ea628a1de56b
enetc: drop unneeded indirection

Before commit 4d5b060ed376 ("enetc: Make MDIO accessors more generic and
export to include/linux/fsl") these macros actually had some benefits.
But after the commit it just makes the code hard to read. Drop the macro
indirections.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/enetc/enetc_mdio.c