librpcsec_gss: remove redundant code.

We have identical code no matter the expression behind the if.
Avoid the desision altogether and keep doing what is expected.

Reviewed by:	dfr
CID:		1305689
This commit is contained in:
Pedro F. Giffuni 2016-05-11 14:37:33 +00:00
parent c59a902fa3
commit f90a20b4b8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=299455

View file

@ -631,11 +631,6 @@ svc_rpc_gss_accept_sec_context(struct svc_rpc_gss_client *client,
&ret_flags,
&cred_lifetime,
&client->cl_creds);
if (gr->gr_major == GSS_S_COMPLETE
|| gr->gr_major == GSS_S_CONTINUE_NEEDED) {
client->cl_sname = sname;
break;
}
client->cl_sname = sname;
break;
}