]> asedeno.scripts.mit.edu Git - linux.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)
commit6e952d95cab1f6671c4da90ead4680572bb12ea7
treead025b2834b991809268426f2cede35f394838b0
parentd7eaf962a90bf922c1ea2697933edfeca285a7d7
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