diff options
author | David S. Miller <davem@davemloft.net> | 2015-03-06 00:38:35 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-06 00:38:35 -0500 |
commit | 23375a0fd549aa0a8c96b9f56a0b8120ae1389dd (patch) | |
tree | 652fe102a1c8b22f89e3899e90cc7a041d6804f7 /net | |
parent | fabe7bed114a0ffc02845b731c26aadd800e7b5d (diff) | |
download | op-kernel-dev-23375a0fd549aa0a8c96b9f56a0b8120ae1389dd.zip op-kernel-dev-23375a0fd549aa0a8c96b9f56a0b8120ae1389dd.tar.gz |
ipv4: Fix unused variable warnings in fib_table_flush_external.
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv4/fib_trie.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/fib_trie.c b/net/ipv4/fib_trie.c index 6544f1a..0131f36 100644 --- a/net/ipv4/fib_trie.c +++ b/net/ipv4/fib_trie.c @@ -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) |