From: Eric Wong Date: Sun, 8 Jan 2017 04:31:30 +0000 (+0000) Subject: httpd/async: remove needless sysread wrapper X-Git-Tag: v1.2.0~397^2~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f8319e8aab32252e5895be6bb8dbd2d5941ebd9;p=thirdparty%2Fpublic-inbox.git httpd/async: remove needless sysread wrapper We don't appear to be using it anywhere --- diff --git a/lib/PublicInbox/HTTPD/Async.pm b/lib/PublicInbox/HTTPD/Async.pm index 842aaf62e..a8488b6be 100644 --- a/lib/PublicInbox/HTTPD/Async.pm +++ b/lib/PublicInbox/HTTPD/Async.pm @@ -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;