From 6038e24d2ba3991dcb3a2295982382a80f193448 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Sun, 1 Nov 2026 01:25:17 +0100 Subject: Remove some obsolete comments --- ot_mutex.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ot_mutex.c b/ot_mutex.c index d856d5f..9b3fd24 100644 --- a/ot_mutex.c +++ b/ot_mutex.c @@ -30,8 +30,6 @@ static pthread_mutex_t bucket_mutex[OT_BUCKET_COUNT]; threads out of that one bucket, so the counter needs its own protection */ static _Atomic size_t g_torrent_count; -/* Self pipe from opentracker.c */ - ot_vector *mutex_bucket_lock(int bucket) { pthread_mutex_lock(bucket_mutex + bucket); return all_torrents + bucket; @@ -66,7 +64,6 @@ void mutex_init(void) { memset(all_torrents, 0, sizeof(all_torrents)); } -/* Let every worker parked on the queue see that the tracker is stopping */ void mutex_deinit(void) { size_t i; for (i = 0; i < OT_BUCKET_COUNT; ++i) -- cgit v1.3