diff options
author | Stephen Hemminger <stephen@networkplumber.org> | 2013-12-28 14:08:22 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-28 17:03:20 -0500 |
commit | 068a6e183484b1c619025da502a6fbfa53c50991 (patch) | |
tree | 30f23c55a7e6db1ab2e7b37d23596bc10629165b /net/ipv4 | |
parent | 7195cf72211d77108de8271a247ec2876ae60502 (diff) |
ipv4: remove unused function
inetpeer_invalidate_family defined but never used
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/inetpeer.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/net/ipv4/inetpeer.c b/net/ipv4/inetpeer.c index d047c8851714..48f424465112 100644 --- a/net/ipv4/inetpeer.c +++ b/net/ipv4/inetpeer.c | |||
@@ -109,13 +109,6 @@ static inline void flush_check(struct inet_peer_base *base, int family) | |||
109 | } | 109 | } |
110 | } | 110 | } |
111 | 111 | ||
112 | void inetpeer_invalidate_family(int family) | ||
113 | { | ||
114 | atomic_t *fp = inetpeer_seq_ptr(family); | ||
115 | |||
116 | atomic_inc(fp); | ||
117 | } | ||
118 | |||
119 | #define PEER_MAXDEPTH 40 /* sufficient for about 2^27 nodes */ | 112 | #define PEER_MAXDEPTH 40 /* sufficient for about 2^27 nodes */ |
120 | 113 | ||
121 | /* Exported for sysctl_net_ipv4. */ | 114 | /* Exported for sysctl_net_ipv4. */ |