]> git.itanic.dy.fi Git - linux-stable/commit
net: fman: Inline several functions into initialization
authorSean Anderson <sean.anderson@seco.com>
Fri, 2 Sep 2022 21:57:25 +0000 (17:57 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Sep 2022 13:27:39 +0000 (14:27 +0100)
commit4498862710972f4012e1ed7967df517f28ddaff6
tree9f4dae651fba3966b61676c26d5ea8deb4029e9c
parent1257c9623deba19493fc0e8f76ad6da31ff4471a
net: fman: Inline several functions into initialization

There are several small functions which were only necessary because the
initialization functions didn't have access to the mac private data. Now
that they do, just do things directly.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Acked-by: Camelia Groza <camelia.groza@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fman/fman_dtsec.c
drivers/net/ethernet/freescale/fman/fman_memac.c
drivers/net/ethernet/freescale/fman/fman_tgec.c