diff options
| author | 2014-05-22 20:06:59 -0300 | |
|---|---|---|
| committer | 2014-05-23 15:31:49 -0400 | |
| commit | 9672850be34c1c3db3b98605c0bee9c58545cdca (patch) | |
| tree | f7c1ceed40a49eb481b5723d81937b8e6228a0ce /include/linux | |
| parent | net: mvneta: Check tx queue setup error in mvneta_change_mtu() (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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
