]> git.baikalelectronics.ru Git - 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)
commitd9ad77396a577711c315ae6e5ab3c680450eab87
treecf8e606d93b6da931416b5251a2bd2f8a918b844
parent2d6599edd28273fcc5d753b3a03514476da95e12
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