]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Removed unused storeClientWaiting function
authorhno <>
Mon, 22 Apr 2002 03:52:47 +0000 (03:52 +0000)
committerhno <>
Mon, 22 Apr 2002 03:52:47 +0000 (03:52 +0000)
src/protos.h
src/store_client.cc

index 21408f4efde9b7d2c32bda5aada4d9da3a8ba71b..65129dc2c4b738e2bcc6a8c183c52f42c08b3eb6 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: protos.h,v 1.436 2002/04/21 21:23:15 hno Exp $
+ * $Id: protos.h,v 1.437 2002/04/21 21:52:47 hno Exp $
  *
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
@@ -886,7 +886,6 @@ extern StoreEntry *storeCreateEntry(const char *, const char *, request_flags, m
 extern void storeSetPublicKey(StoreEntry *);
 extern void storeComplete(StoreEntry *);
 extern void storeInit(void);
-extern int storeClientWaiting(const StoreEntry *);
 extern void storeAbort(StoreEntry *);
 extern void storeAppend(StoreEntry *, const char *, int);
 extern void storeLockObject(StoreEntry *);
index d11346a2230d46ae9953035b98c2bcfb8e419a0c..32c9214c4369f1da4b764fe4d8207a18ef9ad16e 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: store_client.cc,v 1.110 2002/04/16 22:45:25 wessels Exp $
+ * $Id: store_client.cc,v 1.111 2002/04/21 21:52:47 hno Exp $
  *
  * DEBUG: section 20    Storage Manager Client-Side Interface
  * AUTHOR: Duane Wessels
@@ -50,22 +50,6 @@ static store_client_t storeClientType(StoreEntry *);
 static int CheckQuickAbort2(StoreEntry * entry);
 static void CheckQuickAbort(StoreEntry * entry);
 
-/* check if there is any client waiting for this object at all */
-/* return 1 if there is at least one client */
-int
-storeClientWaiting(const StoreEntry * e)
-{
-    MemObject *mem = e->mem_obj;
-    dlink_node *node;
-    store_client *sc;
-    for (node = mem->clients.head; node; node = node->next) {
-       sc = node->data;
-       if (sc->callback_data != NULL)
-           return 1;
-    }
-    return 0;
-}
-
 #if STORE_CLIENT_LIST_DEBUG
 static store_client *
 storeClientListSearch(const MemObject * mem, void *data)