]> git.baikalelectronics.ru Git - kernel.git/commit
net: macb: move the Tx and Rx buffer initialization into a function
authorAntoine Tenart <antoine.tenart@bootlin.com>
Wed, 13 Nov 2019 09:00:05 +0000 (10:00 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Nov 2019 19:45:42 +0000 (11:45 -0800)
commitf2be27721aa0fe2f127906460d0ddc5d9bf206c7
treead025b2834b991809268426f2cede35f394838b0
parentdae0de3b9db5728d6669803bd5aaf0c3bd81920a
net: macb: move the Tx and Rx buffer initialization into a function

This patch moves the Tx and Rx buffer initialization into its own
function. This does not modify the behaviour of the driver and will be
helpful to convert the driver to phylink.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb_main.c