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)
commit0a8fa93310779ee5334e64635f98f9c72781e643
treebddf79ff0b03b7ebe880af5e881ede5c75c0e796
parent2adb719d74f6e174071e5c913290b9bbd8c2c0e8
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