6lowpan: remove initialization of tag value
authorAlexander Aring <alex.aring@gmail.com>
Sun, 2 Mar 2014 07:09:34 +0000 (08:09 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Mar 2014 00:19:44 +0000 (19:19 -0500)
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 <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ieee802154/6lowpan_rtnl.c

index c7bd8b5..178ffb9 100644 (file)
@@ -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);