about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-05-22 21:46:55 +0000
committerEric Wong <e@80x24.org>2019-05-22 21:53:23 +0000
commit9fdf746077bea39281d1e9ee4da2b45577d6b0ea (patch)
tree3fd111c110dedfdb747a5a6eb6fe4d5d87de7cef
parent8548f6a4aee0b92adbc298183b551ff3e9ac4281 (diff)
downloadpublic-inbox-9fdf746077bea39281d1e9ee4da2b45577d6b0ea.tar.gz
"make syntax" is clean, now
-rw-r--r--lib/PublicInbox/DS.pm25
1 files changed, 0 insertions, 25 deletions
diff --git a/lib/PublicInbox/DS.pm b/lib/PublicInbox/DS.pm
index 779215c9..0acb034f 100644
--- a/lib/PublicInbox/DS.pm
+++ b/lib/PublicInbox/DS.pm
@@ -105,17 +105,6 @@ sub HaveEpoll {
     return $HaveEpoll;
 }
 
-=head2 C<< CLASS->WatchedSockets() >>
-
-Returns the number of file descriptors which are registered with the global
-poll object.
-
-=cut
-sub WatchedSockets {
-    return scalar keys %DescriptorMap;
-}
-*watched_sockets = *WatchedSockets;
-
 =head2 C<< CLASS->ToClose() >>
 
 Return the list of sockets that are awaiting close() at the end of the
@@ -206,20 +195,6 @@ sub AddTimer {
     die "Shouldn't get here.";
 }
 
-=head2 C<< CLASS->DescriptorMap() >>
-
-Get the hash of PublicInbox::DS objects keyed by the file descriptor (fileno) they
-are wrapping.
-
-Returns a hash in list context or a hashref in scalar context.
-
-=cut
-sub DescriptorMap {
-    return wantarray ? %DescriptorMap : \%DescriptorMap;
-}
-*descriptor_map = *DescriptorMap;
-*get_sock_ref = *DescriptorMap;
-
 sub _InitPoller
 {
     return if $DoneInit;