net: convert multiple drivers to use netdev_for_each_mc_addr, part5 V2
removed some needless checks and also corrected bug in lp486e (dmi was passed instead of dmi->dmi_addr) Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
52c793f240
commit
f9dcbcc9e3
@@ -1794,7 +1794,7 @@ oom:
|
||||
memset(mc_spec, 0, 0x100);
|
||||
memset(mc_other, 0, 0x100);
|
||||
|
||||
for (addr = dev->mc_list; addr != NULL; addr = addr->next) {
|
||||
netdev_for_each_mc_addr(addr, dev) {
|
||||
u8 *a = addr->da_addr;
|
||||
u32 *table;
|
||||
int entry;
|
||||
|
Reference in New Issue
Block a user