]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/GitHTTPBackend.pm
git-http-backend: cleanup vestigial the process limiter code
[public-inbox.git] / lib / PublicInbox / GitHTTPBackend.pm
index cca8a6d6018c083f34077fe5834ad94f2ea89094..97834de4e97d00cb8b4e8ba4bd43faf058dfe4ee 100644 (file)
@@ -31,15 +31,6 @@ my @no_cache = ('Expires', 'Fri, 01 Jan 1980 00:00:00 GMT',
                'Pragma', 'no-cache',
                'Cache-Control', 'no-cache, max-age=0, must-revalidate');
 
-my $nextq;
-sub do_next () {
-       my $q = $nextq;
-       $nextq = undef;
-       while (my $cb = shift @$q) {
-               $cb->(); # this may redefine nextq
-       }
-}
-
 sub r ($;$) {
        my ($code, $msg) = @_;
        $msg ||= status_message($code);