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

Commit 1cea7e2c authored by Joe Perches's avatar Joe Perches Committed by David S. Miller
Browse files

l2tp: 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 d2beae10
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -74,7 +74,7 @@ static int l2tp_eth_dev_init(struct net_device *dev)

	priv->dev = dev;
	eth_hw_addr_random(dev);
	memset(&dev->broadcast[0], 0xff, 6);
	eth_broadcast_addr(dev->broadcast);
	dev->qdisc_tx_busylock = &l2tp_eth_tx_busylock;
	return 0;
}