Commit f638a2f0 authored by Stephen Hemminger's avatar Stephen Hemminger Committed by David S. Miller

[IPV4] fib_trie: More whitespace cleanup.

Remove extra blank lines.
Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7a9c1bd4
...@@ -447,7 +447,6 @@ static void tnode_put_child_reorg(struct tnode *tn, int i, struct node *n, ...@@ -447,7 +447,6 @@ static void tnode_put_child_reorg(struct tnode *tn, int i, struct node *n,
BUG_ON(i >= 1<<tn->bits); BUG_ON(i >= 1<<tn->bits);
/* update emptyChildren */ /* update emptyChildren */
if (n == NULL && chi != NULL) if (n == NULL && chi != NULL)
tn->empty_children++; tn->empty_children++;
...@@ -1306,7 +1305,6 @@ err: ...@@ -1306,7 +1305,6 @@ err:
return err; return err;
} }
/* should be called with rcu_read_lock */ /* should be called with rcu_read_lock */
static int check_leaf(struct trie *t, struct leaf *l, static int check_leaf(struct trie *t, struct leaf *l,
t_key key, const struct flowi *flp, t_key key, const struct flowi *flp,
...@@ -1721,7 +1719,6 @@ static struct leaf *leaf_walk_rcu(struct tnode *p, struct node *c) ...@@ -1721,7 +1719,6 @@ static struct leaf *leaf_walk_rcu(struct tnode *p, struct node *c)
return NULL; /* Root of trie */ return NULL; /* Root of trie */
} }
static struct leaf *trie_firstleaf(struct trie *t) static struct leaf *trie_firstleaf(struct trie *t)
{ {
struct tnode *n = (struct tnode *) rcu_dereference(t->trie); struct tnode *n = (struct tnode *) rcu_dereference(t->trie);
...@@ -1849,7 +1846,6 @@ static int fn_trie_dump_fa(t_key key, int plen, struct list_head *fah, ...@@ -1849,7 +1846,6 @@ static int fn_trie_dump_fa(t_key key, int plen, struct list_head *fah,
{ {
int i, s_i; int i, s_i;
struct fib_alias *fa; struct fib_alias *fa;
__be32 xkey = htonl(key); __be32 xkey = htonl(key);
s_i = cb->args[4]; s_i = cb->args[4];
...@@ -1882,7 +1878,6 @@ static int fn_trie_dump_fa(t_key key, int plen, struct list_head *fah, ...@@ -1882,7 +1878,6 @@ static int fn_trie_dump_fa(t_key key, int plen, struct list_head *fah,
return skb->len; return skb->len;
} }
static int fn_trie_dump_leaf(struct leaf *l, struct fib_table *tb, static int fn_trie_dump_leaf(struct leaf *l, struct fib_table *tb,
struct sk_buff *skb, struct netlink_callback *cb) struct sk_buff *skb, struct netlink_callback *cb)
{ {
...@@ -2388,7 +2383,6 @@ static int fib_trie_seq_show(struct seq_file *seq, void *v) ...@@ -2388,7 +2383,6 @@ static int fib_trie_seq_show(struct seq_file *seq, void *v)
struct leaf *l = (struct leaf *) n; struct leaf *l = (struct leaf *) n;
struct leaf_info *li; struct leaf_info *li;
struct hlist_node *node; struct hlist_node *node;
__be32 val = htonl(l->key); __be32 val = htonl(l->key);
seq_indent(seq, iter->depth); seq_indent(seq, iter->depth);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment