transport-helper: remove name parameter
[gitweb.git] / transport-helper.c
index 8774ab3013965d79a84d7dfdfbe9ec0b3592b63b..9677ead4269960f6f1cda8adfcd591354b71b42c 100644 (file)
@@ -49,7 +49,7 @@ static void sendline(struct helper_data *helper, struct strbuf *buffer)
                die_errno("Full write to remote helper failed");
 }
 
-static int recvline_fh(FILE *helper, struct strbuf *buffer, const char *name)
+static int recvline_fh(FILE *helper, struct strbuf *buffer)
 {
        strbuf_reset(buffer);
        if (debug)
@@ -67,7 +67,7 @@ static int recvline_fh(FILE *helper, struct strbuf *buffer, const char *name)
 
 static int recvline(struct helper_data *helper, struct strbuf *buffer)
 {
-       return recvline_fh(helper->out, buffer, helper->name);
+       return recvline_fh(helper->out, buffer);
 }
 
 static void write_constant(int fd, const char *str)
@@ -586,7 +586,7 @@ static int process_connect_service(struct transport *transport,
                goto exit;
 
        sendline(data, &cmdbuf);
-       if (recvline_fh(input, &cmdbuf, name))
+       if (recvline_fh(input, &cmdbuf))
                exit(128);
 
        if (!strcmp(cmdbuf.buf, "")) {