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:
f638a2f
)
[IPV4] fib_trie: remove unneeded NULL check
author
Stephen Hemminger
<shemminger@vyatta.com>
Thu, 24 Jan 2008 04:38:24 +0000
(20:38 -0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 28 Jan 2008 23:11:26 +0000
(15:11 -0800)
Since fib_route_seq_show now uses hlist_for_each_entry(), the leaf
info can not be NULL.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
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 b8d11492ef1745affc04ca95b6b55c62bbbbc221..f2f47033f31f3a211a1cba23438500c0a1076be9 100644
(file)
--- a/
net/ipv4/fib_trie.c
+++ b/
net/ipv4/fib_trie.c
@@
-2477,9
+2477,6
@@
static int fib_route_seq_show(struct seq_file *seq, void *v)
struct fib_alias *fa;
__be32 mask, prefix;
- if (!li)
- continue;
-
mask = inet_make_mask(li->plen);
prefix = htonl(l->key);