projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c7f778
)
6lowpan: remove initialization of tag value
author
Alexander Aring
<alex.aring@gmail.com>
Sun, 2 Mar 2014 07:09:34 +0000
(08:09 +0100)
committer
David 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
patch
|
blob
|
blame
|
history
diff --git
a/net/ieee802154/6lowpan_rtnl.c
b/net/ieee802154/6lowpan_rtnl.c
index c7bd8b55f7ce20d1952d17fc42d7266ee5a38343..178ffb97816b03efc0e980d88420c9eabaa4460e 100644
(file)
--- 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);