netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] ipv4: remove unused function
@ 2013-12-28 19:08 Stephen Hemminger
  2013-12-28 22:03 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2013-12-28 19:08 UTC (permalink / raw)
  To: David Miller; +Cc: netdev

inetpeer_invalidate_family defined but never used

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


---
 include/net/inetpeer.h |    1 -
 net/ipv4/inetpeer.c    |    7 -------
 2 files changed, 8 deletions(-)

--- a/include/net/inetpeer.h	2013-12-24 15:15:26.785740972 -0800
+++ b/include/net/inetpeer.h	2013-12-24 15:15:59.729298216 -0800
@@ -163,7 +163,6 @@ void inet_putpeer(struct inet_peer *p);
 bool inet_peer_xrlim_allow(struct inet_peer *peer, int timeout);
 
 void inetpeer_invalidate_tree(struct inet_peer_base *);
-void inetpeer_invalidate_family(int family);
 
 /*
  * temporary check to make sure we dont access rid, ip_id_count, tcp_ts,
--- a/net/ipv4/inetpeer.c	2013-12-24 15:15:26.785740972 -0800
+++ b/net/ipv4/inetpeer.c	2013-12-24 15:15:59.733298164 -0800
@@ -109,13 +109,6 @@ static inline void flush_check(struct in
 	}
 }
 
-void inetpeer_invalidate_family(int family)
-{
-	atomic_t *fp = inetpeer_seq_ptr(family);
-
-	atomic_inc(fp);
-}
-
 #define PEER_MAXDEPTH 40 /* sufficient for about 2^27 nodes */
 
 /* Exported for sysctl_net_ipv4.  */

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

* Re: [PATCH net-next] ipv4: remove unused function
  2013-12-28 19:08 [PATCH net-next] ipv4: remove unused function Stephen Hemminger
@ 2013-12-28 22:03 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2013-12-28 22:03 UTC (permalink / raw)
  To: stephen; +Cc: netdev

From: Stephen Hemminger <stephen@networkplumber.org>
Date: Sat, 28 Dec 2013 11:08:22 -0800

> inetpeer_invalidate_family defined but never used
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>

Applied.

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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-28 19:08 [PATCH net-next] ipv4: remove unused function Stephen Hemminger
2013-12-28 22:03 ` 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).