summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2015-09-09 17:40:56 -0700
committerDavid S. Miller <davem@davemloft.net>2015-09-15 12:49:11 -0700
commit8b711d6db5c78a6d1969fb0fccb93daa7df53762 (patch)
treeecc9bb2d084a7048f3fd3374c931acc1066e44a4 /include
parent29feb66a9afbe69d3aeb2550f2e0ea20d4782ead (diff)
downloadlinux-stable-8b711d6db5c78a6d1969fb0fccb93daa7df53762.tar.gz
linux-stable-8b711d6db5c78a6d1969fb0fccb93daa7df53762.tar.bz2
linux-stable-8b711d6db5c78a6d1969fb0fccb93daa7df53762.zip
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions