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)
commit43264e0bd96304092062c013b0612cc944508288
tree49f253e1ca2afa4829f19bad3e9eaf05e412c97a
parent30e80b55dd250b17c2570e234d2be34a0718063e
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