]> 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)
commitebf30e99a42c3ed933c539eb36b2d812e9ebb6ad
treebddf79ff0b03b7ebe880af5e881ede5c75c0e796
parent85d2f2a1ce86abf47da2b1839a0b5734a17f112f
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