commit | 9672850be34c1c3db3b98605c0bee9c58545cdca | [log] [tgz] |
---|---|---|
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | Thu May 22 20:06:59 2014 -0300 |
committer | David S. Miller <davem@davemloft.net> | Fri May 23 15:31:49 2014 -0400 |
tree | f7c1ceed40a49eb481b5723d81937b8e6228a0ce | |
parent | a92dbd96274ba7615e59bded4f14c2bf9ca46302 [diff] |
net: mvneta: Clean-up mvneta_init() This commit cleans-up mvneta_init(), which initializes the hardware and allocates the rx/qx queues. The queue allocation is simplified by using devm_kcalloc instead of kzalloc. The unused phy_addr parameter is removed. While here, the 'hal' references in the comments are removed. This commit makes no functionality change. Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: David S. Miller <davem@davemloft.net>