Skip to content

Commit

Permalink
ipv4: Fix unused variable warnings in fib_table_flush_external.
Browse files Browse the repository at this point in the history
net/ipv4/fib_trie.c: In function ‘fib_table_flush_external’:
net/ipv4/fib_trie.c:1572:6: warning: unused variable ‘found’ [-Wunused-variable]
  int found = 0;
      ^
net/ipv4/fib_trie.c:1571:16: warning: unused variable ‘slen’ [-Wunused-variable]
  unsigned char slen;
                ^

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Mar 6, 2015
1 parent fabe7be commit 23375a0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions net/ipv4/fib_trie.c
Original file line number Diff line number Diff line change
Expand Up @@ -1568,8 +1568,6 @@ void fib_table_flush_external(struct fib_table *tb)
struct fib_alias *fa;
struct tnode *n, *pn;
unsigned long cindex;
unsigned char slen;
int found = 0;

n = rcu_dereference(t->trie);
if (!n)
Expand Down

0 comments on commit 23375a0

Please sign in to comment.