Author: pfg Date: Wed May 11 14:37:33 2016 New Revision: 299455 URL: https://svnweb.freebsd.org/changeset/base/299455
Log: 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 Modified: head/lib/librpcsec_gss/svc_rpcsec_gss.c Modified: head/lib/librpcsec_gss/svc_rpcsec_gss.c ============================================================================== --- head/lib/librpcsec_gss/svc_rpcsec_gss.c Wed May 11 13:53:29 2016 (r299454) +++ head/lib/librpcsec_gss/svc_rpcsec_gss.c Wed May 11 14:37:33 2016 (r299455) @@ -631,11 +631,6 @@ svc_rpc_gss_accept_sec_context(struct sv &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; } _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"