Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[IPV4] fib_trie: remove unneeded NULL check

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>

authored by

Stephen Hemminger and committed by
David S. Miller
ac97f75f f638a2f0

-3
-3
net/ipv4/fib_trie.c
··· 2477 2477 struct fib_alias *fa; 2478 2478 __be32 mask, prefix; 2479 2479 2480 - if (!li) 2481 - continue; 2482 - 2483 2480 mask = inet_make_mask(li->plen); 2484 2481 prefix = htonl(l->key); 2485 2482