]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9f4c354c7cb74bde442b5f1705d24051b118f687
tree36bd508fb6b68000d1a78c675494a58a6885c84e
parentdf8f5f080eb449cce3523eeaad41daaea4bf1e48
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