]> git.baikalelectronics.ru Git - kernel.git/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)
commit2ebf25c266329950235cefa8134f5e37b1e85cb6
tree9f4dae651fba3966b61676c26d5ea8deb4029e9c
parentb2ce8eb7fd55271a751a1ac83e3b560073c93d25
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