diff options
author | Joe Perches <joe@perches.com> | 2015-03-03 06:54:47 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-04 01:01:36 +0300 |
commit | c7bf716940c6a8ed39b444bfb0b97c2939ac312b (patch) | |
tree | 4f21527a5cfb43f724b5dd2ea65e530d9ec64ea3 /drivers/net/ethernet/qlogic/netxen | |
parent | e8ab38cfcb6eac7f4e7e3b8e787a9d4bea54c2cb (diff) | |
download | linux-c7bf716940c6a8ed39b444bfb0b97c2939ac312b.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet/qlogic/netxen')
-rw-r--r-- | drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c b/drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c index 716fc37ada5a..db80eb1c6d4f 100644 --- a/drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c +++ b/drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c @@ -537,7 +537,7 @@ static void netxen_p2_nic_set_multi(struct net_device *netdev) u8 null_addr[ETH_ALEN]; int i; - memset(null_addr, 0, ETH_ALEN); + eth_zero_addr(null_addr); if (netdev->flags & IFF_PROMISC) { |