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;
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to