summaryrefslogtreecommitdiff
path: root/net/8021q
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2015-03-03 06:54:52 +0300
committerDavid S. Miller <davem@davemloft.net>2015-03-04 01:01:37 +0300
commit423049ab1e93cfcffff7de6ff40e68edede8fdf5 (patch)
tree982b343659dd6bf9b3553d1c96f5696e8a3268ef /net/8021q
parent3b6ed26d8b964bdb1f963eb2fab90fdd26a11452 (diff)
downloadlinux-423049ab1e93cfcffff7de6ff40e68edede8fdf5.tar.xz
8021q: Use eth_<foo>_addr instead of memset
Use the built-in function instead of memset. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q')
-rw-r--r--net/8021q/vlan_dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/8021q/vlan_dev.c b/net/8021q/vlan_dev.c
index 1dcfec8b49f3..f196552ec3c4 100644
--- a/net/8021q/vlan_dev.c
+++ b/net/8021q/vlan_dev.c
@@ -792,5 +792,5 @@ void vlan_setup(struct net_device *dev)
dev->destructor = vlan_dev_free;
dev->ethtool_ops = &vlan_ethtool_ops;
- memset(dev->broadcast, 0, ETH_ALEN);
+ eth_zero_addr(dev->broadcast);
}