netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 1/10] ipv4: make fib_detect_death static
@ 2013-12-16 18:36 Stephen Hemminger
  2013-12-16 18:37 ` [PATCH net-next 2/10] arp: make arp_invalidate static Stephen Hemminger
                   ` (10 more replies)
  0 siblings, 11 replies; 15+ messages in thread
From: Stephen Hemminger @ 2013-12-16 18:36 UTC (permalink / raw)
  To: David Miller; +Cc: netdev


Make fib_detect_death function static only used in one file.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>


--- a/net/ipv4/fib_lookup.h	2013-12-12 11:48:17.293851542 -0800
+++ b/net/ipv4/fib_lookup.h	2013-12-12 11:56:44.461952887 -0800
@@ -33,8 +33,6 @@ int fib_dump_info(struct sk_buff *skb, u
 void rtmsg_fib(int event, __be32 key, struct fib_alias *fa, int dst_len,
 	       u32 tb_id, const struct nl_info *info, unsigned int nlm_flags);
 struct fib_alias *fib_find_alias(struct list_head *fah, u8 tos, u32 prio);
-int fib_detect_death(struct fib_info *fi, int order,
-		     struct fib_info **last_resort, int *last_idx, int dflt);
 
 static inline void fib_result_assign(struct fib_result *res,
 				     struct fib_info *fi)
--- a/net/ipv4/fib_semantics.c	2013-12-12 11:48:17.293851542 -0800
+++ b/net/ipv4/fib_semantics.c	2013-12-12 11:56:44.461952887 -0800
@@ -426,7 +426,7 @@ struct fib_alias *fib_find_alias(struct
 	return NULL;
 }
 
-int fib_detect_death(struct fib_info *fi, int order,
+static int fib_detect_death(struct fib_info *fi, int order,
 		     struct fib_info **last_resort, int *last_idx, int dflt)
 {
 	struct neighbour *n;

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2013-12-17 22:20 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-16 18:36 [PATCH net-next 1/10] ipv4: make fib_detect_death static Stephen Hemminger
2013-12-16 18:37 ` [PATCH net-next 2/10] arp: make arp_invalidate static Stephen Hemminger
2013-12-16 18:38 ` [PATCH net-next 3/10] ipv4: remove unused function Stephen Hemminger
2013-12-16 18:39 ` [PATCH net-next 4/10] ipv4: ping make local stuff static Stephen Hemminger
2013-12-16 18:40 ` [PATCH net-next 5/10] tcp: make local functions static Stephen Hemminger
2013-12-16 18:42 ` [PATCH net-next 6/10] bonding: make local function static Stephen Hemminger
2013-12-16 18:43 ` [PATCH net-next 7/10] ipv6: make icmpv6_route_lookup static Stephen Hemminger
2013-12-16 18:44 ` [PATCH net-next 8/10] socket: make cred_to_ucred static Stephen Hemminger
2013-12-16 18:45 ` [PATCH net-next 9/10] lro: remove unused code Stephen Hemminger
2013-12-16 19:54   ` Ben Hutchings
2013-12-17 22:20     ` David Miller
2013-12-16 19:29 ` [PATCH net-next 10/10] dccp: remove dead code Stephen Hemminger
2013-12-16 19:39 ` [PATCH net-next 10/10] dccp: remove unused code Stephen Hemminger
2013-12-16 22:27   ` Gerrit Renker
2013-12-17 22:20 ` [PATCH net-next 1/10] ipv4: make fib_detect_death static David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).