diff options
author | David Ahern <dsa@cumulusnetworks.com> | 2017-01-05 19:33:59 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-06 15:57:50 -0500 |
commit | c7b371e34c0b9ed9e23271608448f89e6d66ba0a (patch) | |
tree | 546c5d92827b1d54f47a39cdbc07a4df2ac8415e /net/ipv4/fib_semantics.c | |
parent | 0c8d803f397a65adfffd3aa01f52555389f33239 (diff) |
net: ipv4: make fib_select_default static
fib_select_default has a single caller within the same file.
Make it static.
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_semantics.c')
-rw-r--r-- | net/ipv4/fib_semantics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/fib_semantics.c b/net/ipv4/fib_semantics.c index 7a5b4c7d9a87..05c911d21782 100644 --- a/net/ipv4/fib_semantics.c +++ b/net/ipv4/fib_semantics.c @@ -1434,7 +1434,7 @@ int fib_sync_down_dev(struct net_device *dev, unsigned long event, bool force) } /* Must be invoked inside of an RCU protected region. */ -void fib_select_default(const struct flowi4 *flp, struct fib_result *res) +static void fib_select_default(const struct flowi4 *flp, struct fib_result *res) { struct fib_info *fi = NULL, *last_resort = NULL; struct hlist_head *fa_head = res->fa_head; |