From a4f2dfa6fae1b1b56eaf536698ac623a25ce1b2d Mon Sep 17 00:00:00 2001 From: Conrad Meyer Date: Wed, 14 Feb 2018 00:12:03 +0000 Subject: [PATCH] kgssapi: Remove trivial deadcode CID: 1385956 Reported by: Coverity Sponsored by: Dell EMC Isilon --- sys/kgssapi/gss_impl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/kgssapi/gss_impl.c b/sys/kgssapi/gss_impl.c index 87004f49194..8ed98448480 100644 --- a/sys/kgssapi/gss_impl.c +++ b/sys/kgssapi/gss_impl.c @@ -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;