Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Feb 2018 00:12:03 +0000 (UTC)
From:      Conrad Meyer <cem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r329251 - head/sys/kgssapi
Message-ID:  <201802140012.w1E0C3ma099337@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802140012.w1E0C3ma099337>