From: Alexander Aring Date: Sun, 2 Mar 2014 07:09:34 +0000 (+0100) Subject: 6lowpan: remove initialization of tag value X-Git-Tag: firefly_0821_release~176^2~4167^2~234^2~1 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0234a632486eade1094736a03db9b8fa4dd4d125;p=firefly-linux-kernel-4.4.55.git 6lowpan: remove initialization of tag value The initialization of the tag value doesn't matter at begin of fragmentation. This patch removes the initialization to zero. Signed-off-by: Alexander Aring Signed-off-by: David S. Miller --- diff --git a/net/ieee802154/6lowpan_rtnl.c b/net/ieee802154/6lowpan_rtnl.c index c7bd8b55f7ce..178ffb97816b 100644 --- a/net/ieee802154/6lowpan_rtnl.c +++ b/net/ieee802154/6lowpan_rtnl.c @@ -519,7 +519,6 @@ static int lowpan_newlink(struct net *src_net, struct net_device *dev, } lowpan_dev_info(dev)->real_dev = real_dev; - lowpan_dev_info(dev)->fragment_tag = 0; mutex_init(&lowpan_dev_info(dev)->dev_list_mtx); entry = kzalloc(sizeof(*entry), GFP_KERNEL);