]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net ipv6: Remove rebundant rt6i_nsiblings initialization
authorfan.du <fan.du@windriver.com>
Mon, 22 Jul 2013 06:20:12 +0000 (14:20 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Jul 2013 21:24:56 +0000 (14:24 -0700)
commit86a37def2bba8d22f8b512e7c8a0f6f6e197728c
tree216b3aded2758d5b7af6ee0356d931081d60ef19
parentb9959fd3b0fa8ee5f45012ae5258d87ee6852baa
net ipv6: Remove rebundant rt6i_nsiblings initialization

Seting rt->rt6i_nsiblings to zero is rebundant, because above memset
zeroed the rest of rt excluding the first dst memember.

Signed-off-by: Fan Du <fan.du@windriver.com>
Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Cc: James Morris <jmorris@namei.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c