diff options
author | Simo Sorce <simo@redhat.com> | 2014-01-16 23:01:37 -0500 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2014-01-17 11:51:44 -0500 |
commit | 94bc961961096bd614d37a5ecd6bee474340aa79 (patch) | |
tree | d28d5d476200a367a7c0d638c81b330625ed8d9c /utils/gssd/gssd_proc.c | |
parent | 1c3089d57036f276976273a01d03d3cea6eab0bb (diff) | |
download | nfs-utils-94bc961961096bd614d37a5ecd6bee474340aa79.tar.gz nfs-utils-94bc961961096bd614d37a5ecd6bee474340aa79.tar.xz nfs-utils-94bc961961096bd614d37a5ecd6bee474340aa79.zip |
Remove unused argumentsgss-fixes
The name variable is always set to NULL now in all callers, so just
sto passing it around needlessly.
The uid_t variable is not used at all, so chuck it out too.
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'utils/gssd/gssd_proc.c')
-rw-r--r-- | utils/gssd/gssd_proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/gssd/gssd_proc.c b/utils/gssd/gssd_proc.c index 2a6ea97..33cfeb2 100644 --- a/utils/gssd/gssd_proc.c +++ b/utils/gssd/gssd_proc.c @@ -1095,7 +1095,7 @@ process_krb5_upcall(struct clnt_info *clp, uid_t uid, int fd, char *tgtname, /* Tell krb5 gss which credentials cache to use */ /* Try first to acquire credentials directly via GSSAPI */ - err = gssd_acquire_user_cred(uid, &gss_cred); + err = gssd_acquire_user_cred(&gss_cred); if (!err) create_resp = create_auth_rpc_client(clp, tgtname, &rpc_clnt, &auth, uid, AUTHTYPE_KRB5, gss_cred); |