http-push: remove unneeded cleanup

preq is NULL as the condition the line before dictates. And the cleanup function release_http_pack_request is not null pointer safe. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Stefan Beller committed Mar 20, 2015 at 17:28 UTC e280888cfb5c0fb5b75acaab04aa2ca28da3225b
1 file changed -1
http-push.c
-1
@@ -316,7 +316,6 @@ static void start_fetch_packed(struct transfer_request *request)
316
317 preq = new_http_pack_request(target, repo->url);
318 if (preq == NULL) {
319 - release_http_pack_request(preq);
319 repo->can_update_info_refs = 0;
320 return;
321 }