Skip to content

Commit

Permalink
[IPV4] fib_trie: More whitespace cleanup.
Browse files Browse the repository at this point in the history
Remove extra blank lines.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Jan 28, 2008
1 parent 7a9c1bd commit f638a2f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions net/ipv4/fib_trie.c
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,6 @@ static void tnode_put_child_reorg(struct tnode *tn, int i, struct node *n,

BUG_ON(i >= 1<<tn->bits);


/* update emptyChildren */
if (n == NULL && chi != NULL)
tn->empty_children++;
Expand Down Expand Up @@ -1306,7 +1305,6 @@ static int fn_trie_insert(struct fib_table *tb, struct fib_config *cfg)
return err;
}


/* should be called with rcu_read_lock */
static int check_leaf(struct trie *t, struct leaf *l,
t_key key, const struct flowi *flp,
Expand Down Expand Up @@ -1721,7 +1719,6 @@ static struct leaf *leaf_walk_rcu(struct tnode *p, struct node *c)
return NULL; /* Root of trie */
}


static struct leaf *trie_firstleaf(struct trie *t)
{
struct tnode *n = (struct tnode *) rcu_dereference(t->trie);
Expand Down Expand Up @@ -1849,7 +1846,6 @@ static int fn_trie_dump_fa(t_key key, int plen, struct list_head *fah,
{
int i, s_i;
struct fib_alias *fa;

__be32 xkey = htonl(key);

s_i = cb->args[4];
Expand Down Expand Up @@ -1882,7 +1878,6 @@ static int fn_trie_dump_fa(t_key key, int plen, struct list_head *fah,
return skb->len;
}


static int fn_trie_dump_leaf(struct leaf *l, struct fib_table *tb,
struct sk_buff *skb, struct netlink_callback *cb)
{
Expand Down Expand Up @@ -2388,7 +2383,6 @@ static int fib_trie_seq_show(struct seq_file *seq, void *v)
struct leaf *l = (struct leaf *) n;
struct leaf_info *li;
struct hlist_node *node;

__be32 val = htonl(l->key);

seq_indent(seq, iter->depth);
Expand Down

0 comments on commit f638a2f

Please sign in to comment.