summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/des/des_crypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/des/des_crypt.c')
-rw-r--r--usr/src/uts/common/des/des_crypt.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/usr/src/uts/common/des/des_crypt.c b/usr/src/uts/common/des/des_crypt.c
index 88a30f3847..0a2d2a81de 100644
--- a/usr/src/uts/common/des/des_crypt.c
+++ b/usr/src/uts/common/des/des_crypt.c
@@ -20,7 +20,7 @@
*
*/
/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -269,15 +269,12 @@ _init(void)
return (ret);
/*
- * Register with KCF. If the registration fails, log an
+ * Register with KCF. If the registration fails, kcf will log an
* error but do not uninstall the module, since the functionality
* provided by misc/des should still be available.
+ *
*/
- if ((ret = crypto_register_provider(&des_prov_info,
- &des_prov_handle)) != CRYPTO_SUCCESS) {
- cmn_err(CE_WARN, "des _init: crypto_register_provider() "
- "failed (0x%x)", ret);
- }
+ (void) crypto_register_provider(&des_prov_info, &des_prov_handle);
return (0);
}