[IPV4]: Fix up lots of little whitespace indentation stuff in fib_trie.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Stephen Hemminger 2005-07-19 14:01:51 -07:00 committed by David S. Miller
parent 23a534e7b1
commit c877efb207
2 changed files with 388 additions and 386 deletions

View file

@ -314,6 +314,7 @@ static void fn_free_alias(struct fib_alias *fa)
The bits from (n->pos) to (n->pos + n->bits - 1) - "C" - are the index into
n's child array, and will of course be different for each child.
The rest of the bits, from (n->pos + n->bits) onward, are completely unknown
at this point.
@ -395,6 +396,7 @@ static struct tnode* tnode_new(t_key key, int pos, int bits)
tn->full_children = 0;
tn->empty_children = 1<<bits;
}
if (trie_debug > 0)
printk("AT %p s=%u %u\n", tn, (unsigned int) sizeof(struct tnode),
(unsigned int) (sizeof(struct node) * 1<<bits));
@ -896,7 +898,6 @@ static struct leaf_info *find_leaf_info(struct hlist_head *head, int plen)
struct leaf_info *li;
hlist_for_each_entry(li, node, head, hlist) {
if (li->plen == plen)
return li;
}
@ -1759,6 +1760,7 @@ static struct leaf *nextleaf(struct trie *t, struct leaf *thisleaf)
}
else
p = (struct tnode *) NODE_PARENT(c);
while (p) {
int pos, last;