From: Eric Wong Date: Fri, 31 Oct 2025 02:45:01 +0000 (+0000) Subject: xap_helper: drop unused `struct worker' X-Git-Tag: v2.0.0~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d6605336db52c22f175c69eb57f31960aee7d52b;p=thirdparty%2Fpublic-inbox.git 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. --- 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;