[EBTABLES]: Clean ebt_get_udc_positions() up.
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 1 Dec 2006 03:27:32 +0000 (19:27 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:32:01 +0000 (21:32 -0800)
commit177abc348a00738dbc985df8523d755bf87403d9
treeaa09545b75c4e0f70d612acd4338935b202768a4
parent0e795531c5e6d0a7d407b8d9edde47cab13be3ec
[EBTABLES]: Clean ebt_get_udc_positions() up.

Check for valid_hooks is redundant (newinfo->hook_entry[i] will
be NULL if bit i is not set).  Kill it, kill unused arguments.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/netfilter/ebtables.c