From: Joe Perches Date: Tue, 3 Mar 2015 03:54:52 +0000 (-0800) Subject: 8021q: Use eth__addr instead of memset X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=423049ab1e93cfcffff7de6ff40e68edede8fdf5;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 8021q: Use eth__addr instead of memset Use the built-in function instead of memset. Signed-off-by: Joe Perches Signed-off-by: David S. Miller --- 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); }