diff --git a/lib/multi.c b/lib/multi.c index c2595b990a..7c815b3549 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -578,22 +578,6 @@ CURLMcode curl_multi_add_handle(CURLM *m, CURL *curl) return mresult; } -#if 0 -/* Debug-function, used like this: - * - * Curl_hash_print(&multi->sockhash, debug_print_sock_hash); - * - * Enable the hash print function first by editing hash.c - */ -static void debug_print_sock_hash(void *p) -{ - struct Curl_sh_entry *sh = (struct Curl_sh_entry *)p; - - curl_mfprintf(stderr, " [readers %u][writers %u]", - sh->readers, sh->writers); -} -#endif - struct multi_done_ctx { BIT(premature); };