]> 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)
commitcdd161b3311593ba8a6ff3f05b26c1ff9a7356eb
treecf8e606d93b6da931416b5251a2bd2f8a918b844
parent016e7f7b5b5e63e71327e35f724f023d9f072a04
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