projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fabe7be
)
ipv4: Fix unused variable warnings in fib_table_flush_external.
author
David S. Miller
<davem@davemloft.net>
Fri, 6 Mar 2015 05:38:35 +0000
(
00:38
-0500)
committer
David S. Miller
<davem@davemloft.net>
Fri, 6 Mar 2015 05:38:35 +0000
(
00:38
-0500)
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>
net/ipv4/fib_trie.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/fib_trie.c
b/net/ipv4/fib_trie.c
index 6544f1a0cfa1fa2f1d7829c02ac326a16b4a533c..0131f369f5c969a39d93d63a22ab3220f97367dc 100644
(file)
--- 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)