summaryrefslogtreecommitdiffstats
path: root/net/ipv4/fib_semantics.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2013-12-28 11:05:36 -0800
committerDavid S. Miller <davem@davemloft.net>2013-12-28 17:01:46 -0500
commitc9cb6b6ec18ca91d090178d3c6d1dde7428c791b (patch)
treedccb90097dce4d007fb964b2f32c5fe0d96397a5 /net/ipv4/fib_semantics.c
parent0db901bd33f09b0dbf39d12261f689812e343c26 (diff)
downloadop-kernel-dev-c9cb6b6ec18ca91d090178d3c6d1dde7428c791b.zip
op-kernel-dev-c9cb6b6ec18ca91d090178d3c6d1dde7428c791b.tar.gz
ipv4: make fib_detect_death static
Make fib_detect_death function static only used in one file. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_semantics.c')
-rw-r--r--net/ipv4/fib_semantics.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/ipv4/fib_semantics.c b/net/ipv4/fib_semantics.c
index e63f47a..b53f0bf 100644
--- a/net/ipv4/fib_semantics.c
+++ b/net/ipv4/fib_semantics.c
@@ -426,8 +426,9 @@ struct fib_alias *fib_find_alias(struct list_head *fah, u8 tos, u32 prio)
return NULL;
}
-int fib_detect_death(struct fib_info *fi, int order,
- struct fib_info **last_resort, int *last_idx, int dflt)
+static int fib_detect_death(struct fib_info *fi, int order,
+ struct fib_info **last_resort, int *last_idx,
+ int dflt)
{
struct neighbour *n;
int state = NUD_NONE;
OpenPOWER on IntegriCloud