OSDN Git Service

ieee802154: 6lowpan: remove set to zero
authorAlexander Aring <alex.aring@gmail.com>
Wed, 2 Sep 2015 12:21:19 +0000 (14:21 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 17 Sep 2015 11:20:02 +0000 (13:20 +0200)
commit56aeaddfbc874123c88e5b058b068ce8fca71dcd
tree8fdabd9d8b31fa2f1cf7c1418675fe2e4f2f2c14
parent2c88b5283f60d09d41b9fe03351c0d2e8eef904f
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>
net/ieee802154/6lowpan/core.c