]> err.no Git - linux-2.6/commit
[NETFILTER]: nf_nat: remove unused argument of function allocating binding
authorYasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Thu, 10 May 2007 21:14:45 +0000 (14:14 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 11 May 2007 06:47:44 +0000 (23:47 -0700)
commitba4c7cbadd2c025321809b522c398fc81cd5d75d
tree04b43083aac575c82912a38578a8cf783919161b
parent3c2ad469c317147fc1de19579f8173ddb68a9e91
[NETFILTER]: nf_nat: remove unused argument of function allocating binding

nf_nat_rule_find, alloc_null_binding and alloc_null_binding_confirmed
do not use the argument 'info', which is actually ct->nat.info.
If they are necessary to access it again, we can use the argument 'ct'
instead.

Signed-off-by: Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netfilter/nf_nat_rule.h
net/ipv4/netfilter/nf_nat_rule.c
net/ipv4/netfilter/nf_nat_standalone.c