summaryrefslogtreecommitdiff
path: root/net/ieee802154/6lowpan
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2015-09-02 15:21:19 +0300
committerMarcel Holtmann <marcel@holtmann.org>2015-09-17 14:20:02 +0300
commit56aeaddfbc874123c88e5b058b068ce8fca71dcd (patch)
tree8fdabd9d8b31fa2f1cf7c1418675fe2e4f2f2c14 /net/ieee802154/6lowpan
parent2c88b5283f60d09d41b9fe03351c0d2e8eef904f (diff)
downloadlinux-56aeaddfbc874123c88e5b058b068ce8fca71dcd.tar.xz
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: Stefan Schmidt <stefan@osg.samsung.com> Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/ieee802154/6lowpan')
-rw-r--r--net/ieee802154/6lowpan/core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ieee802154/6lowpan/core.c b/net/ieee802154/6lowpan/core.c
index 3b7521001a9e..9f0cfa598e3a 100644
--- a/net/ieee802154/6lowpan/core.c
+++ b/net/ieee802154/6lowpan/core.c
@@ -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;