commit | 6e952d95cab1f6671c4da90ead4680572bb12ea7 | [log] [tgz] |
---|---|---|
author | Antoine Tenart <antoine.tenart@bootlin.com> | Wed Nov 13 10:00:05 2019 +0100 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 13 11:45:42 2019 -0800 |
tree | ad025b2834b991809268426f2cede35f394838b0 | |
parent | d7eaf962a90bf922c1ea2697933edfeca285a7d7 [diff] |
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>