]> git.ipfire.org Git - thirdparty/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>
Sun, 8 Jan 2017 04:31:30 +0000 (04:31 +0000)
We don't appear to be using it anywhere

lib/PublicInbox/HTTPD/Async.pm

index 54b62451e884730294b7d9f22fef739261aeac9b..2bd190809cc582a144d1080a590f901fabee2fb0 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;