ethernet: Use eth_<foo>_addr instead of memset

Use the built-in function instead of memset.

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Joe Perches
2015-03-02 19:54:47 -08:00
committed by David S. Miller
parent e8ab38cfcb
commit c7bf716940
17 changed files with 25 additions and 25 deletions

View File

@@ -954,7 +954,7 @@ static void eth_set_mcast_list(struct net_device *dev)
return;
}
memset(diffs, 0, ETH_ALEN);
eth_zero_addr(diffs);
addr = NULL;
netdev_for_each_mc_addr(ha, dev) {