From d6605336db52c22f175c69eb57f31960aee7d52b Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 31 Oct 2025 02:45:01 +0000 Subject: [PATCH] xap_helper: drop unused `struct worker' I never actually used this struct since the PID <=> worker mappers is a simple array where O(n) lookups won't hurt due to the small amount of workers. --- lib/PublicInbox/xap_helper.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/PublicInbox/xap_helper.h b/lib/PublicInbox/xap_helper.h index 69ce7c7d0..d582841c4 100644 --- a/lib/PublicInbox/xap_helper.h +++ b/lib/PublicInbox/xap_helper.h @@ -202,11 +202,6 @@ struct req { // argv and pfxv point into global rbuf bool asc; // ascending sort }; -struct worker { - pid_t pid; - unsigned nr; -}; - struct fbuf { FILE *fp; char *ptr; -- 2.47.3