about summary refs log tree commit homepage
path: root/lib/PublicInbox/IPC.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-10-04 03:49:15 +0000
committerEric Wong <e@80x24.org>2023-10-04 17:46:31 +0000
commit529b30867c07ad95bba396cc80b044315fbc4df0 (patch)
tree43875d72669ad54a33b77cceb4fa605b3ee13df4 /lib/PublicInbox/IPC.pm
parent2f946a02bc324612febdfe31604b79e0196a215f (diff)
downloadpublic-inbox-529b30867c07ad95bba396cc80b044315fbc4df0.tar.gz
It's not used by any post_loop_do callbacks anymore, and the
underlying FD map is a global `our' variable accessible from
anywhere, anyways.
Diffstat (limited to 'lib/PublicInbox/IPC.pm')
-rw-r--r--lib/PublicInbox/IPC.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/IPC.pm b/lib/PublicInbox/IPC.pm
index 9388befd..9b4b1508 100644
--- a/lib/PublicInbox/IPC.pm
+++ b/lib/PublicInbox/IPC.pm
@@ -251,8 +251,8 @@ sub recv_and_run {
         $n;
 }
 
-sub sock_defined {
-        my (undef, $wqw) = @_;
+sub sock_defined { # PublicInbox::DS::post_loop_do CB
+        my ($wqw) = @_;
         defined($wqw->{sock});
 }