diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-01-23 09:03:29 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-01-24 10:29:06 +0100 |
commit | 77450003383df8469b74916a3c2d54d4b57226ff (patch) | |
tree | ea9e9fd1b4b9a5343278ed1195528f1d759e3eab /lib/conncache.c | |
parent | ea284778f56f2ff3c07b72c584df71d19a043591 (diff) |
conncache: removed unused Curl_conncache_bundle_size()
Diffstat (limited to 'lib/conncache.c')
-rw-r--r-- | lib/conncache.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/lib/conncache.c b/lib/conncache.c index 28044644b..cbd3bb1bb 100644 --- a/lib/conncache.c +++ b/lib/conncache.c @@ -6,7 +6,7 @@ * \___|\___/|_| \_\_____| * * Copyright (C) 2012 - 2016, Linus Nielsen Feltzing, <linus@haxx.se> - * Copyright (C) 2012 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 2012 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -179,18 +179,6 @@ size_t Curl_conncache_size(struct Curl_easy *data) return num; } -/* Returns number of connections currently held in the connections's bundle - Locks/unlocks the cache itself! -*/ -size_t Curl_conncache_bundle_size(struct connectdata *conn) -{ - size_t num; - CONN_LOCK(conn->data); - num = conn->bundle->num_connections; - CONN_UNLOCK(conn->data); - return num; -} - /* Look up the bundle with all the connections to the same host this connectdata struct is setup to use. |