]> git.baikalelectronics.ru Git - kernel.git/commit
net: mv643xx_eth: use managed devm_kzalloc
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Wed, 10 Apr 2013 23:29:34 +0000 (23:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Apr 2013 20:19:39 +0000 (16:19 -0400)
commit5bf0ac4dab8e7dadb83fc5ad35da53a2f8343e18
tree078c585cddcc26654410a054a5b1aad36fc489f8
parente7d4501c8c96996fa638c9ee368972b6adfabd4b
net: mv643xx_eth: use managed devm_kzalloc

This patch moves shared private data kzalloc to managed devm_kzalloc and
cleans now unneccessary kfree and error handling.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mv643xx_eth.c