summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2015-03-28 14:14:04 +0100
committerSimo Sorce <simo@redhat.com>2015-03-29 17:32:01 -0400
commitff6e3a3f259a5e55ccf92a1b8ec60fb264ac3425 (patch)
tree405fd8335e77c30f91374908a97ef1cd613ce502
parentdd20a1265ed3c007dd12b10743b25d40c98992a6 (diff)
downloadgss-proxy-ff6e3a3f259a5e55ccf92a1b8ec60fb264ac3425.tar.gz
gss-proxy-ff6e3a3f259a5e55ccf92a1b8ec60fb264ac3425.tar.xz
gss-proxy-ff6e3a3f259a5e55ccf92a1b8ec60fb264ac3425.zip
Remove unused parameter from get_pipe_name
Signed-off-by: Lukas Slebodnik <lslebodn@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
-rw-r--r--proxy/src/client/gpm_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proxy/src/client/gpm_common.c b/proxy/src/client/gpm_common.c
index 4651194..3518c09 100644
--- a/proxy/src/client/gpm_common.c
+++ b/proxy/src/client/gpm_common.c
@@ -63,7 +63,7 @@ static void gpm_init_once(void)
pthread_mutexattr_destroy(&attr);
}
-static int get_pipe_name(struct gpm_ctx *gpmctx, char *name)
+static int get_pipe_name(char *name)
{
const char *socket;
int ret;
@@ -88,7 +88,7 @@ static int gpm_open_socket(struct gpm_ctx *gpmctx)
int ret;
int fd = -1;
- ret = get_pipe_name(gpmctx, name);
+ ret = get_pipe_name(name);
if (ret) {
return ret;
}