diff options
author | Joe Perches <[email protected]> | 2015-09-09 17:40:56 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-09-15 12:49:11 -0700 |
commit | 8b711d6db5c78a6d1969fb0fccb93daa7df53762 (patch) | |
tree | ecc9bb2d084a7048f3fd3374c931acc1066e44a4 /lib/mpi/mpiutil.c | |
parent | 29feb66a9afbe69d3aeb2550f2e0ea20d4782ead (diff) |
mv643xx_eth: Neaten mv643xx_eth_program_multicast_filter
The code around the allocation and loops are a bit obfuscated.
Neaten it by using:
o kcalloc with decimal count and sizeof(u32)
o Decimal loop indexing and i++ not i += 4
o A promiscuous block using a similar style
to the multicast block
o Remove unnecessary variables
Signed-off-by: Joe Perches <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions