]> git.baikalelectronics.ru Git - kernel.git/commit
net: mv643xx_eth: Factorize initial checksum and command preparation
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Mon, 19 May 2014 16:59:56 +0000 (13:59 -0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 May 2014 18:57:16 +0000 (14:57 -0400)
commit7af83cc31afbacff74748819f43d78d60c33fb8b
treebddf79ff0b03b7ebe880af5e881ede5c75c0e796
parent530b43037fd2030034ec9b613d6d1dd232cadb3e
net: mv643xx_eth: Factorize initial checksum and command preparation

Make the code more readable by moving the initial checksum setup
and the command/status preparation to its own function.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mv643xx_eth.c