diff options
author | Alexander Aring <alex.aring@gmail.com> | 2014-03-02 02:09:34 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-02 19:19:44 -0500 |
commit | 0234a632486eade1094736a03db9b8fa4dd4d125 (patch) | |
tree | efb5ab8dc069925023ffcb0bbc42bfb9ea381e25 /net/ieee802154/6lowpan_rtnl.c | |
parent | 4c7f778e566ac5861b2837ee755d8cdcd1ccacc5 (diff) |
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 <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ieee802154/6lowpan_rtnl.c')
-rw-r--r-- | net/ieee802154/6lowpan_rtnl.c | 1 |
1 files changed, 0 insertions, 1 deletions
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, | |||
519 | } | 519 | } |
520 | 520 | ||
521 | lowpan_dev_info(dev)->real_dev = real_dev; | 521 | lowpan_dev_info(dev)->real_dev = real_dev; |
522 | lowpan_dev_info(dev)->fragment_tag = 0; | ||
523 | mutex_init(&lowpan_dev_info(dev)->dev_list_mtx); | 522 | mutex_init(&lowpan_dev_info(dev)->dev_list_mtx); |
524 | 523 | ||
525 | entry = kzalloc(sizeof(*entry), GFP_KERNEL); | 524 | entry = kzalloc(sizeof(*entry), GFP_KERNEL); |