]> git.baikalelectronics.ru Git - kernel.git/commit
fib_trie: Move fib_find_alias to file where it is used
authorAlexander Duyck <alexander.h.duyck@redhat.com>
Thu, 22 Jan 2015 23:51:39 +0000 (15:51 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jan 2015 22:47:16 +0000 (14:47 -0800)
commit11f3e4e1c1d4078bc0061e04a15f6c04d34b01dd
treea8ba43c54974cb7fa3fdd8a6f2fb2d0412325a52
parent2ef1144ae8218a65a681c75863f579270791c30d
fib_trie: Move fib_find_alias to file where it is used

The function fib_find_alias is only accessed by functions in fib_trie.c as
such it makes sense to relocate it and cast it as static so that the
compiler can take advantage of optimizations it can do to it as a local
function.

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