Commit 068a6e18 authored by Stephen Hemminger's avatar Stephen Hemminger Committed by David S. Miller

ipv4: remove unused function

inetpeer_invalidate_family defined but never used
Signed-off-by: default avatarStephen Hemminger <stephen@networkplumber.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7195cf72
...@@ -163,7 +163,6 @@ void inet_putpeer(struct inet_peer *p); ...@@ -163,7 +163,6 @@ void inet_putpeer(struct inet_peer *p);
bool inet_peer_xrlim_allow(struct inet_peer *peer, int timeout); bool inet_peer_xrlim_allow(struct inet_peer *peer, int timeout);
void inetpeer_invalidate_tree(struct inet_peer_base *); 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, * temporary check to make sure we dont access rid, ip_id_count, tcp_ts,
......
...@@ -109,13 +109,6 @@ static inline void flush_check(struct inet_peer_base *base, int family) ...@@ -109,13 +109,6 @@ static inline void flush_check(struct inet_peer_base *base, int family)
} }
} }
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 */ #define PEER_MAXDEPTH 40 /* sufficient for about 2^27 nodes */
/* Exported for sysctl_net_ipv4. */ /* Exported for sysctl_net_ipv4. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment