]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: remove unnecessary codes in tcp_ipv6.c
authorRongQing.Li <roy.qing.li@gmail.com>
Sun, 1 Jul 2012 17:18:59 +0000 (17:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jul 2012 10:11:15 +0000 (03:11 -0700)
commit8bc348e5a013005901becb6685ebe3fbf095842b
tree49f253e1ca2afa4829f19bad3e9eaf05e412c97a
parent15ecc9d800050f164f62d3fe9d6f911996a91210
ipv6: remove unnecessary codes in tcp_ipv6.c

opt always equals np->opts, so it is meaningless to define opt, and
check if opt does not equal np->opts and then try to free opt.

Signed-off-by: RongQing.Li <roy.qing.li@gmail.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/tcp_ipv6.c