svn commit: r329251 - head/sys/kgssapi

Conrad Meyer cem at FreeBSD.org
Wed Feb 14 00:12:04 UTC 2018


Author: cem
Date: Wed Feb 14 00:12:03 2018
New Revision: 329251
URL: https://svnweb.freebsd.org/changeset/base/329251

Log:
  kgssapi: Remove trivial deadcode
  
  CID:		1385956
  Reported by:	Coverity
  Sponsored by:	Dell EMC Isilon

Modified:
  head/sys/kgssapi/gss_impl.c

Modified: head/sys/kgssapi/gss_impl.c
==============================================================================
--- head/sys/kgssapi/gss_impl.c	Tue Feb 13 22:46:06 2018	(r329250)
+++ head/sys/kgssapi/gss_impl.c	Wed Feb 14 00:12:03 2018	(r329251)
@@ -287,8 +287,6 @@ kgssapi_modevent(module_t mod, int type, void *data)
 
 	switch (type) {
 	case MOD_LOAD:
-		if (error != 0)
-			return (error);
 		rpc_gss_entries.rpc_gss_refresh_auth = rpc_gss_refresh_auth;
 		rpc_gss_entries.rpc_gss_secfind = rpc_gss_secfind;
 		rpc_gss_entries.rpc_gss_secpurge = rpc_gss_secpurge;


More information about the svn-src-all mailing list