diff options
author | Sergei Shtylyov | 2014-05-13 00:30:14 +0200 |
---|---|---|
committer | David S. Miller | 2014-05-14 00:51:27 +0200 |
commit | 86b5d251d5ac4dda51a022b34cb29b4ce65a8cd5 (patch) | |
tree | 9e470f4f59180881e6585a91902ed6a17808c2e7 /drivers/net/bonding | |
parent | Merge branch 'tg3-next' (diff) | |
download | kernel-qcow2-linux-86b5d251d5ac4dda51a022b34cb29b4ce65a8cd5.tar.gz kernel-qcow2-linux-86b5d251d5ac4dda51a022b34cb29b4ce65a8cd5.tar.xz kernel-qcow2-linux-86b5d251d5ac4dda51a022b34cb29b4ce65a8cd5.zip |
sh_eth: replace devm_kzalloc() with devm_kmalloc_array()
When I was converting the driver to the managed device API, only devm_kzalloc()
was available for memory allocation, so I had to use it, despite zeroing out the
PHY IRQ array right before initializing all its entries to PHY_POLL was quite
stupid. Now that devm_kmalloc_array() has become available, we can avoid the
needless zeroing out...
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding')
0 files changed, 0 insertions, 0 deletions