commit | 8b711d6db5c78a6d1969fb0fccb93daa7df53762 | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Wed Sep 09 17:40:56 2015 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Sep 15 12:49:11 2015 -0700 |
tree | ecc9bb2d084a7048f3fd3374c931acc1066e44a4 | |
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 <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>