]> err.no Git - linux-2.6/commit
netfilter: nf_conntrack_extend: avoid unnecessary "ct->ext" dereferences
authorPatrick McHardy <kaber@trash.net>
Sun, 27 Jul 2008 00:50:05 +0000 (17:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 27 Jul 2008 00:50:05 +0000 (17:50 -0700)
commit6c64825bf40ecc1b01610762ca736b18c8a9db92
tree2cfd89fde882986d9f46f496f246192583cc3119
parent93bc4e89c260d91576840c4881d1066d84ccd422
netfilter: nf_conntrack_extend: avoid unnecessary "ct->ext" dereferences

As Linus points out, "ct->ext" and "new" are always equal, avoid unnecessary
dereferences and use "new" directly.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nf_conntrack_extend.c