]> Sergey Matveev's repositories - public-inbox.git/commitdiff
httpd/async: remove needless sysread wrapper
authorEric Wong <e@80x24.org>
Sun, 8 Jan 2017 04:31:30 +0000 (04:31 +0000)
committerEric Wong <e@80x24.org>
Tue, 22 Jan 2019 03:38:39 +0000 (03:38 +0000)
We don't appear to be using it anywhere

lib/PublicInbox/HTTPD/Async.pm

index 842aaf62e93fbfd22ceabc25269857c9282d1c99..a8488b6be4ff0568a0c52561290d430a468f3b81 100644 (file)
@@ -66,7 +66,6 @@ sub async_pass {
 sub event_read { $_[0]->{cb}->(@_) }
 sub event_hup { $_[0]->{cb}->(@_) }
 sub event_err { $_[0]->{cb}->(@_) }
-sub sysread { shift->{sock}->sysread(@_) }
 
 sub close {
        my $self = shift;