aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic/netxen
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2015-03-02 19:54:47 -0800
committerDavid S. Miller <davem@davemloft.net>2015-03-03 17:01:36 -0500
commitc7bf716940c6a8ed39b444bfb0b97c2939ac312b (patch)
tree4f21527a5cfb43f724b5dd2ea65e530d9ec64ea3 /drivers/net/ethernet/qlogic/netxen
parenti40e: Fix dependencies in the i40e driver on configfs (diff)
downloadlinux-dev-c7bf716940c6a8ed39b444bfb0b97c2939ac312b.tar.xz
linux-dev-c7bf716940c6a8ed39b444bfb0b97c2939ac312b.zip
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.c2
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) {