Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 423049ab authored by Joe Perches's avatar Joe Perches Committed by David S. Miller
Browse files

8021q: Use eth_<foo>_addr instead of memset



Use the built-in function instead of memset.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3b6ed26d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
}