dccp: remove unnecessary codes in ipv6.c
authorRongQing.Li <roy.qing.li@gmail.com>
Sun, 1 Jul 2012 17:19:00 +0000 (17:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jul 2012 10:11:15 +0000 (03:11 -0700)
commit0979e465c5ab205b63a1c1820fe833f396a120f0
tree36bd508fb6b68000d1a78c675494a58a6885c84e
parent43264e0bd96304092062c013b0612cc944508288
dccp: remove unnecessary codes in 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/dccp/ipv6.c