]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
fib_trie: Minor cleanups to fib_table_flush_external
authorAlexander Duyck <alexander.h.duyck@redhat.com>
Fri, 6 Mar 2015 17:53:56 +0000 (09:53 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Mar 2015 20:49:27 +0000 (15:49 -0500)
commit72be72607a560dfa7a4715cb372f9e1e40ed65a5
treecf8e606d93b6da931416b5251a2bd2f8a918b844
parent20488239d236f1615e2be8b0f6dbd30e4310940a
fib_trie: Minor cleanups to fib_table_flush_external

This change just does a couple of minor cleanups on
fib_table_flush_external.  Specifically it addresses the fact that resize
was being called even though nothing was being removed from the table, and
it drops an unecessary indent since we could just call continue on the
inverse of the fi && flag check.

Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_trie.c