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

Commit 56aeaddf authored by Alexander Aring's avatar Alexander Aring Committed by Marcel Holtmann
Browse files

ieee802154: 6lowpan: remove set to zero



Internal mechanism by calling netdev_alloc which use kzalloc already
sets these variables to zero. This patch cleanup the setup of net_device.

Reviewed-by: default avatarStefan Schmidt <stefan@osg.samsung.com>
Signed-off-by: default avatarAlexander Aring <alex.aring@gmail.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 2c88b528
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -110,7 +110,6 @@ static void lowpan_setup(struct net_device *ldev)
	ldev->mtu		= IPV6_MIN_MTU;
	ldev->priv_flags	|= IFF_NO_QUEUE;
	ldev->flags		= IFF_BROADCAST | IFF_MULTICAST;
	ldev->watchdog_timeo	= 0;

	ldev->netdev_ops	= &lowpan_netdev_ops;
	ldev->header_ops	= &lowpan_header_ops;