diff options
author | Joe Perches <joe@perches.com> | 2015-03-02 22:54:47 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-03 17:01:36 -0500 |
commit | c7bf716940c6a8ed39b444bfb0b97c2939ac312b (patch) | |
tree | 4f21527a5cfb43f724b5dd2ea65e530d9ec64ea3 /drivers/net/ethernet/qlogic/netxen | |
parent | e8ab38cfcb6eac7f4e7e3b8e787a9d4bea54c2cb (diff) |
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) | |||
537 | u8 null_addr[ETH_ALEN]; | 537 | u8 null_addr[ETH_ALEN]; |
538 | int i; | 538 | int i; |
539 | 539 | ||
540 | memset(null_addr, 0, ETH_ALEN); | 540 | eth_zero_addr(null_addr); |
541 | 541 | ||
542 | if (netdev->flags & IFF_PROMISC) { | 542 | if (netdev->flags & IFF_PROMISC) { |
543 | 543 | ||